Quote:
Originally Posted by Tigairius
Make sure you're standing right next to the switch when you apply the script because that's the only way you'll really be able to test it... I suggest using onWeaponFired instead of onCreated.
|
If I'm correct you'll need to stand 10 tiles or less away from it for it to work. This will be removed in the new Graal version though. Also support for triggeraction from server- to clientside is going to be added for such NPC's (joined classes too).
Edit: Oh wait I thought you were using just some x and y, but I notice the 'player.x + vecx...' stuff is why he had to stand right next to it.