More fixings and improvements.

This commit is contained in:
Filip Maj 2017-03-14 18:33:33 -04:00
parent 718bc28c57
commit b81141a158
5 changed files with 64 additions and 23 deletions

View file

@ -1,3 +1,5 @@
require ("global")
--[[
ActivateCommand Script
@ -10,15 +12,12 @@ function onEventStarted(player, command, triggerName)
if (player:GetState() == 0) then
player:ChangeState(2);
sendSignal("playerActive");
elseif (player:GetState() == 2) then
player:ChangeState(0);
sendSignal("playerPassive");
end
player:endEvent();
--For Opening Tutorial
--if (player:HasQuest("Man0l0") or player:HasQuest("Man0g0") or player:HasQuest("Man0u0")) then
--player:GetDirector("Quest/QuestDirectorMan0l001"):OnCommandEvent(player, command);
--end
end