View Single Post
  #9  
Old 05-26-2005, 01:57 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
I have some problems to follow.

If you do trigger(action,params) it will send an event to the current npc/weapon.
If you want do a trigger for another player, you can pass the player object as parameter or you do stuff like with (findplayer(account)) thiso.trigger(action,params); which then will automatically set the "current player" once the event is triggered.

Triggering yourself doesn't make a lot of sense though, you can call the function directly.
Reply With Quote