Tut | Programatically Spawning a Monster - JasXSL/GoThongs GitHub Wiki

Programatically spawning a monster from the _MAIN script is as easy as:

Level$spawnLiveTarg((str)LINK_ROOT, (str)asset, (vec)pos, (rot)rot);

Pos and rot are in global coordinates.