Fixed bugs and edited scripts causing the limsa intro to fail.

This commit is contained in:
Filip Maj 2022-02-20 22:40:35 -05:00
parent bbbab356af
commit 0b67f8e436
8 changed files with 81 additions and 46 deletions

View file

@ -0,0 +1,23 @@
require("global");
properties = {
permissions = 0,
parameters = "d",
description = "Spawns the menuman",
}
function onTrigger(player, argc)
local pos = player:GetPos();
local x = pos[1];
local y = pos[2];
local z = pos[3];
local rot = pos[4];
local actor = player.CurrentArea:SpawnActor(9114437, "menuman", x, y, z, rot, 0, 0);
if (actor == nil) then
player:SendMessage(0x20, "", "This actor class id cannot be spawned.");
end
end;