From ZDoom Wiki
Jump to navigation Jump to search

int SpawnSpotFacing (str classname, int spottid [, int tid])


Like SpawnSpot, this will spawn an actor of the given type at the given mapspot. Like Thing_SpawnFacing, the thing will assume the angle of the mapspot it is spawned to.

The return value is the number of things spawned.


This script will spawn an imp at a mapspot with a tid of 1, facing the same direction as said mapspot and giving it a new tid of 2.

script 1 (void)
   SpawnSpotFacing("DoomImp", 1, 2);
ACS spawn functions
Spawn SpawnForced
SpawnSpot SpawnSpotForced
SpawnSpotFacing SpawnSpotFacingForced