Page 1 of 1

Event Inheritance Question

PostPosted: Thu Apr 20, 2006 10:35 pm
by Just4Fun
When using Event Inheritance, do the inheriting actors also inherit script editor actions?

I am using the save actor state code that is included in my previous post. I have Actor1 as my baseActor (it includes all of the Event and Action code), but when I use the Event Inheritance on Actor2, nothing happens when I run my game.

I can get Event Inheritance to work when I use a simple mouse down test that doesn't include any scripting Actions. Anyone have any ideas? :idea: TIA

BTW Makslane. I think this feature is a wonderful additon to GE. Thanks for adding it. Now if I can just figure out how to use it! :wink:

Re: Event Inheritance Question

PostPosted: Fri Apr 21, 2006 12:54 pm
by makslane
Just4Fun wrote:When using Event Inheritance, do the inheriting actors also inherit script editor actions?


Yes, will inherit all events and actions

I can get Event Inheritance to work when I use a simple mouse down test that doesn't include any scripting Actions. Anyone have any ideas?


Try this test:

Create an actor A
Put a Mouse Button Down event with script x++;

Create an actor B thats inherit events from actor A

Now, when you click on actor B, will execute the x++ script.