Added trigger name to all the scripts that had params. Implemented the Gridania opening stoper.

This commit is contained in:
Filip Maj 2016-03-20 21:19:40 -04:00
parent 2048d8d188
commit 3162bedb17
23 changed files with 44 additions and 21 deletions

View file

@ -6,7 +6,7 @@ Switches between active and passive mode states
--]]
function onEventStarted(player, actor)
function onEventStarted(player, actor, triggerName)
if (player:getState() == 0) then
player:changeState(2);