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

@ -9,7 +9,7 @@ The param "itemDBIds" has the vars: item1 and item2.
--]]
function onEventStarted(player, actor, invActionInfo, param1, param2, param3, param4, param5, param6, param7, param8, itemDBIds)
function onEventStarted(player, actor, triggerName, invActionInfo, param1, param2, param3, param4, param5, param6, param7, param8, itemDBIds)
player:getInventory(0x00):removeItem(invActionInfo.slot);
player:endEvent();
end