multipliing an actor

Game Editor comments and discussion.

multipliing an actor

Postby smoothie » Mon Oct 04, 2010 7:34 am

i would like to know how to make an actor multipli in to 2 smaller actors
User avatar
smoothie
 
Posts: 32
Joined: Sat Oct 02, 2010 11:51 am
Score: 0 Give a positive score

Re: multipliing an actor

Postby skydereign » Mon Oct 04, 2010 7:39 am

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");
User avatar
skydereign
 
Posts: 3510
Joined: Mon Jul 28, 2008 8:29 am
Score: 589 Give a positive score

Re: multipliing an actor

Postby smoothie » Mon Oct 04, 2010 7:58 am

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
User avatar
smoothie
 
Posts: 32
Joined: Sat Oct 02, 2010 11:51 am
Score: 0 Give a positive score


Return to GE - General

Who is online

Users browsing this forum: No registered users and 1 guest

cron