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 edit summary |
||
| Line 14: | Line 14: | ||
===See also=== | ===See also=== | ||
*[[Spawn]] | |||
*[[SpawnForced]] | |||
*[[SpawnSpot]] | |||
*[[SpawnProjectile]] | *[[SpawnProjectile]] | ||
*[[Thing_Spawn]] | *[[Thing_Spawn]] | ||
Latest revision as of 01:32, 10 May 2026
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.