Thread: GS2: .trigger()
View Single Post
  #1  
Old 05-22-2005, 06:24 PM
Ajira Ajira is offline
Poont.
Join Date: Oct 2004
Location: NY, USA
Posts: 477
Ajira is on a distinguished road
GS2: .trigger()

I believe there is a problem with the trigger() function. When I do
NPC Code:

player.trigger("hit",acc)


Then the action is called, but I believe the param is not being sent.
However, when I do
NPC Code:

player.trigger("hit",acc,"lala");


Then I can check the params. I'm pretty sure it's supposed to work with just one param?
__________________
Liek omigosh.

Reply With Quote