View Single Post
  #9  
Old 06-16-2006, 06:58 AM
ApothiX ApothiX is offline
Okiesmokie
Join Date: May 2004
Posts: 1,447
ApothiX is on a distinguished road
Quote:
Originally Posted by Python523
NPC Code:
player.triggerclient(weaponname,actionname,params)  ;


Is what I've been using, and it seems to work.
I'm assuming that if you don't use 'object type' for the first parameter, it functions like a normal triggeraction. If you fill in an object type, you will not be able to specify the 'actionname', it always sends actionClientside.

Quote:
Originally Posted by Warcaptain
its triggerclient("gui",weaponname,param1,param2);
Quote:
Originally Posted by Stefan
It's triggerclient(objecttype, name, params)
Currently only "weapon" works as objecttype, or "gui" which is the same.
According to Stefan, 'weapon' works aswell.
__________________


[06:24:19] * Parts: Skyld (i=silent@unaffiliated/skyld) ("Perhaps Okiesmokie did not realise that I like the boys. ")
Reply With Quote