mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
More fixings and improvements.
This commit is contained in:
@@ -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
|
Reference in New Issue
Block a user