Thanks to everyone for the hard work and additions. Working great!
I was messing around with teleporting to coordinates (Testing Stuff>Miscellaneous>TeleportToPosition), and randomly came across a staging area where the NPCs that spawn in and out of game are kept (Sceleritas Fel, Quill Grootslang, Cazador, Quazit etc.) There is even an NPC model for "Disembodied Voice", which I promptly killed. I checked to make sure that it wasn't just some leftover area from development by triggering interaction with a goblin that started the cutscene for the fight at the Druid's Grove gate, and that whole group was transported out. Any idea what %%% DEMO 1-9 books are for?
Coordinates are -303, 113, 1
Code: Select all
{$lua}
if syntaxcheck then return end
[ENABLE]
local x, y, z = -303, 113, 1
local player = GetHostCharacter()
SetArgToString(0, player) -- SourceObject
SetArgToFloat(1, x)
SetArgToFloat(2, z)
SetArgToFloat(3, y)
SetArgToLong(4, 0) -- Event
SetArgToLong(5, 1) -- TeleportLinkedCharacters
SetArgToLong(6, 1) -- TeleportPartyFollowers
SetArgToLong(7, 1) -- TeleportSummons
SetArgToLong(8, 1) -- LeaveCombat
SetArgToLong(9, 1) -- SnapToGround
ExecuteCall("TeleportToPosition")
[DISABLE]