Fixed args on commands due to triggername becoming eventType and eventName

This commit is contained in:
Filip Maj 2022-03-04 22:55:30 -05:00
parent bf20993e58
commit a618e69dbd
57 changed files with 83 additions and 109 deletions

View file

@ -9,7 +9,7 @@ Finds the correct weaponskill subscript to fire when a weaponskill actor is acti
--]]
function onEventStarted(player, command, triggerName, arg1, arg2, arg3, arg4, targetActor, arg5, arg6, arg7, arg8)
function onEventStarted(player, command, eventType, eventName, arg1, arg2, arg3, arg4, targetActor, arg5, arg6, arg7, arg8)
--Are they in active mode?
if (player:GetState() != 2) then