Hey guys,
I have a little problem with events.
I assigned an action to an entity, with an EVENT_IMPACT emask,
but it seems that the event is not triggered at all, nothing happens
after searching the manual, I got the Idea that my code should work... Maybe some one else can spot the mistake
here is the code:
function event_collect()
{
my.z+=100;
}
action target_collect()
{
my.emask |= (EVENT_IMPACT);
my.event = event_collect;
}
the idea is to check if the event is triggered, which can be seen because the entity... jumps
it might be that I forgot something else, maybe some things work different in A7?
It looks like a beginners question to me, but I would really appreciate your help
Thanks in advance