Hey there, I wrote a script that lets the player shoot a ball at a wall. Now each time the wall is hit I subtract some hitpoints (skill 1) from the wall. When the Wall's skill 1 reaches zero ent_remove is used to remove it. In the script I wrote an event that would be called from the Wall once it is hit (my.event... my.skill1 -= 10; etc...).
Since the level has grown and grown it seems smarter to let the ball/missile/bullet/whatever "carry" its own event that would simply decrease one's health via your.skill1 -= 10;. Unfortunately I get all kinds of errors when using the "your" prefix.
Aum54 give a good introduction to events. The manual places only one restriction - you can't use wait. I've been looking for this in Aum - they only have games where the "enemy" reduces its own health and maybe distinguishes between the different weapons it is hit with.
So here's the question: in general is it possible to let the projectile "carry" the event and then simply change all variables/skills using the "your" prefix?