mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-08 21:44:35 +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
|
@ -31,7 +31,7 @@ function onTrigger(player, argc, animation, regionId, layoutId, maxLayoutId)
|
|||
actorClassId = tonumber(actorClassId);
|
||||
|
||||
if (actorClassId ~= nil) then
|
||||
zone = player:GetZone();
|
||||
zone = player.CurrentArea;
|
||||
actor = zone:SpawnActor(actorClassId, "mapobj", pos[1], pos[2], pos[3], tonumber(regionId), tonumber(layoutId));
|
||||
|
||||
print("test");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue