Event Inheritance Question

Non-platform specific questions.

Event Inheritance Question

Postby Just4Fun » Thu Apr 20, 2006 10:35 pm

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:
I've learned that I still have a lot to learn.

** Makslane == Genious **
Just4Fun
 
Posts: 524
Joined: Tue Jul 01, 2003 5:19 am
Location: USA: Washington State; West Coast
Score: 6 Give a positive score

Re: Event Inheritance Question

Postby makslane » Fri Apr 21, 2006 12:54 pm

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.
makslane
Site Admin
 
Posts: 3947
Joined: Sat Apr 05, 2003 6:47 pm
Score: 182 Give a positive score


Return to General

Who is online

Users browsing this forum: No registered users and 1 guest