SpawnSpotForced: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(Created page with "==ACS function== int SpawnSpotForced (str classname, int spottid [, int tid [, int angle]]) Spawns (creates) things on top of tagged map spot things. It will do so even if th...") |
(No difference)
|
Latest revision as of 02:40, 22 June 2019
ACS function[edit]
int SpawnSpotForced (str classname, int spottid [, int tid [, int angle]])
Spawns (creates) things on top of tagged map spot things. It will do so even if the locations are blocked. Teleportation fog will not be produced.
Parameters[edit]
- classname: type of thing to create. Can use ZDoom-compatible "compatname" as well as EDF thing type name.
- spottid: TID of map spot thing to spawn objects on top of. Even though standard map spot things are usual, they're not required to be of this kind.
- tid: optional TID to give to the newly spawned things. Keep it 0 (the default) if you don't want to give them a custom TID.
- angle: byte angle facing of spawned things. Default is 0 (east).
Return value[edit]
The number of things spawned.