mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-05-20 08:26:59 -04:00
Added changes to how zones/areas are accessed in the lua scripts too.
This commit is contained in:
@@ -159,7 +159,7 @@ function onTrigger(player, argc, width, height, blockCount)
|
||||
for b = 0, blocks do
|
||||
for i = 0, w do
|
||||
for j = 0, h do
|
||||
local actor = player.GetZone().SpawnActor(2104001, 'ass', x + (i * 1), y, z + (j * 1), rot, 0, 0, true);
|
||||
local actor = player.CurrentArea.SpawnActor(2104001, 'ass', x + (i * 1), y, z + (j * 1), rot, 0, 0, true);
|
||||
--actor.ChangeNpcAppearance(2200905);
|
||||
actor.SetMaxHP(500);
|
||||
actor.SetHP(500);
|
||||
|
||||
Reference in New Issue
Block a user