mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +02:00
More fixings and improvements.
This commit is contained in:
parent
718bc28c57
commit
b81141a158
5 changed files with 64 additions and 23 deletions
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue