Added Gridania scripts and various others. Fixed error messages popping for scripts that may not use certain functions.

This commit is contained in:
Filip Maj committed 2016-08-05 18:23:59 -04:00
1 parent 67928ee875
commit 5e926bf668
169 files changed
+1310 -37

No files matched your search

+6 -2
View File
@@ -7,12 +7,16 @@ Notes:
--]]
function onEventStarted(player, commandActor, triggerName, pushCommand, unk1, unk2, unk3, ownerActorId, unk4, unk5, unk6, unk7)
function onEventStarted(player, actor, triggerName, pushCommand, unk1, unk2, unk3, ownerActorId, unk4, unk5, unk6, unk7)
actor = player:GetActorInInstance(ownerActorId);
if (actor != nil) then
player:kickEvent(actor, "pushCommand", "pushCommand");
if (actor:GetActorClassId() == 1200052) then
player:kickEvent(actor, "commandJudgeMode", "commandJudgeMode");
else
player:kickEvent(actor, "pushCommand", "pushCommand");
end
else
player:endEvent();
end