Hey there,

just a quick question. I have many entities in my level which dont have a while loop in their action. The only purpose of the action is to set the skills to certain values.
I now want to execute one function (which contains the entity-pointer as parameter) when one of the entitys flags is set to 1.
Do i realy have to add a while loop just to check once for if(my.flagX), or is it possible to have something like an event-function that is only triggered when a flag gets set to 1?

Regards