I can't see what the problem is except that the player movement action is exclusively hogging the "my" pointer or something. When I use the c_scan from the player control loop it works fine (well, as fine as it can with a c_scan) but the minute I try and run the door action from a click nothing happens.
Yeah - although I call c_scan from within the player control loop. When I trigger the scan it triggers the action. The problem is I don't like using c_scan to manipulate objects...
Still nothing! I put the beep in the action defintion as well as the event and it beeps three times when the world is first compiled (there are three entities with this behaviour so the action behaviour is registering properly) but when I click on the target nothing happens!
Nope! Neither one of those seems to resolve it - I've tried different uses of the mouse_ent object too.
One idea did spring to mind - is it possible to call the my.event function from the mouse_ent object? That way I could place the code to handle the mouse click within my player control loop and run it from there?
Just a thought...
Thanks again for your help guys, it is appreciated.