mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-10 14:34:32 +02:00
Added changes to how zones/areas are accessed in the lua scripts too.
This commit is contained in:
parent
4e0cf36552
commit
68e55a1c76
18 changed files with 33 additions and 35 deletions
|
@ -88,7 +88,7 @@ function onEventStarted(player, actor, triggerName)
|
|||
wait(5);
|
||||
|
||||
player:SendMessage(0x20, "", "ContentFinished");
|
||||
player:GetZone():ContentFinished();
|
||||
player.CurrentArea:ContentFinished();
|
||||
wait(5);
|
||||
player:SendMessage(0x20, "", "Remove from party");
|
||||
player:RemoveFromCurrentPartyAndCleanup();
|
||||
|
@ -136,5 +136,5 @@ function onCommand(player, command)
|
|||
end
|
||||
|
||||
function main(director, contentGroup)
|
||||
onCreateContentArea(director:GetPlayerMembers(), director, director:GetZone(), contentGroup);
|
||||
onCreateContentArea(director:GetPlayerMembers(), director, director.CurrentArea, contentGroup);
|
||||
end;
|
|
@ -73,7 +73,7 @@ function onEventStarted(player, director, triggerName)
|
|||
]]
|
||||
|
||||
man0l0Quest:StartSequence(10);
|
||||
player:GetZone():ContentFinished();
|
||||
player.CurrentArea:ContentFinished();
|
||||
GetWorldManager():DoZoneChange(player, 230, "PrivateAreaMasterPast", 1, 15, -826.868469, 6, 193.745865, -0.008368492);
|
||||
player:EndEvent();
|
||||
end
|
||||
|
|
|
@ -59,6 +59,6 @@ function onEventStarted(player, actor, triggerName)
|
|||
man0u0Quest:NextPhase(10);
|
||||
player:EndEvent();
|
||||
|
||||
player:GetZone():ContentFinished();
|
||||
player.CurrentArea:ContentFinished();
|
||||
GetWorldManager():DoZoneChange(player, 175, "PrivateAreaMasterPast", 3, 15, -22.81, 196, 87.82, 2.98);
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue