View Single Post
  #6  
Old 03-22-2009, 06:53 AM
cbk1994 cbk1994 is offline
the fake one
cbk1994's Avatar
Join Date: Mar 2003
Location: San Francisco
Posts: 10,718
cbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond reputecbk1994 has a reputation beyond repute
Send a message via AIM to cbk1994
Quote:
Originally Posted by Novice View Post
Alternatively you can use triggerAction(), which is almost the same.
PHP Code:
triggerAction(x,y,name,param0,param1,param2,...); 
"name" refers to the part after "onAction" on the serverside, so if you used "HealthSubtract" then the trigger will be sent to "onActionHealthSubtract" in the serverside. "x" and "y" are usually 0.
That actually won't work.

Your trigger has to start with "Server" for it to go to that weapon serverside. Otherwise, it's triggering at that location.
__________________
Reply With Quote