Page 1 of 1

Inherit events of:

PostPosted: Sun May 20, 2007 7:47 pm
by d-soldier
It would be great if there was a way to basically copy all the events from one actor to another.. the current inherit events option is good for some circumstances, but not if I have a lot of actors who all need the same basic events, but will have various differences... So I could rig a "base badguy" with movement scripts and animation changes, etc... then plug them into all my other badguys and make modifications for each of 'em individually without applying them to all the others... does this make sense? [I'm willing to bet there is a way to do this that I don't know about] :(

PostPosted: Sun May 20, 2007 8:37 pm
by makslane
But the 'Event Inheritance' option works like you want.
In the base actor (your badguy) put the common events.
In the actors derived from the base actor change only the events you want.

Some thing like this: the base actor will jump 10 pixels when press the space bar. To overwrite this behavior in the derived actors, just create a Key Down event with the space bar and put the action you want for this actor. This change will affects only this actor.

PostPosted: Sun May 20, 2007 9:03 pm
by d-soldier
... I figured there ws a way I didn't know about... thanks for clarifying that for me!

But..

PostPosted: Mon May 21, 2007 10:59 am
by kyensoftware
But...then, what if the base was 30 events, but you wanted all the events to have slight differences? I did this, it took FOREVER!

PostPosted: Mon May 21, 2007 12:48 pm
by makslane
You need to overwrite all events, or make the changes based on some variable.