Graal Forums

Graal Forums (https://forums.graalonline.com/forums/index.php)
-   Tech Support (https://forums.graalonline.com/forums/forumdisplay.php?f=7)
-   -   GS2: .trigger() (https://forums.graalonline.com/forums/showthread.php?t=59053)

Ajira 05-22-2005 06:24 PM

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?


All times are GMT +2. The time now is 03:04 PM.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.