Quote:
Originally Posted by Novice
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.