Page 1 of 1

multipliing an actor

PostPosted: Mon Oct 04, 2010 7:34 am
by smoothie
i would like to know how to make an actor multipli in to 2 smaller actors

Re: multipliing an actor

PostPosted: Mon Oct 04, 2010 7:39 am
by skydereign
Well in the current versions of gameEditor you can't scale easily or efficiently but you can create the smaller actor, and when you destroy the bigger actor, create the two smaller. So if you want to click the actor to make it split into two smaller, here is what you might do.

big_actor -> Mouse Button Down (left) -> Script Editor
Code: Select all
CreateActor("small_actor", "actorAnim", "(none)", "(none)", 20, 0, false);
CreateActor("small_actor", "actorAnim", "(none)", "(none)", -20, 0, false);
DestroyActor("Event Actor");

Re: multipliing an actor

PostPosted: Mon Oct 04, 2010 7:58 am
by smoothie
thankyou for trying to answer my question but sadily it just destroyed the actor and did'nt make it multipli but dont worry because i found another way on how to do it.

sorry for my bad spelling