View Single Post
  #5  
Old 05-12-2008, 11:11 AM
Dan Dan is offline
Daniel
Join Date: Oct 2007
Posts: 383
Dan is an unknown quantity at this point
Send a message via MSN to Dan
Quote:
Originally Posted by Tigairius View Post
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.
__________________

Last edited by Dan; 05-12-2008 at 11:34 AM..
Reply With Quote