mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Fixed syntax error in tutorial script. Finished fleshing out the opening script and related scripts for Limsa.
This commit is contained in:
@@ -8,16 +8,15 @@ Switches between active and passive mode states
|
||||
|
||||
--]]
|
||||
|
||||
function onEventStarted(player, command, triggerName)
|
||||
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
|
||||
|
||||
end
|
||||
player:endEvent();
|
||||
|
||||
|
||||
sendSignal("playerActive");
|
||||
|
||||
end
|
Reference in New Issue
Block a user