int SpawnSpotForced (str classname, int spottid, int tid, int angle)
This is an alternative to SpawnSpot which takes the same parameters. It forces the actor(s) to spawn, even in conditions where the spawning would normally fail (for example, not enough room to place the actor). As such, it should be used carefully.
- classname: the actor to spawn. To get a list of the things you can spawn in the game, visit the Classes pages.
- spottid: the thing id of the actor the thing is to be spawned at.
- tid: the thing id to give the spawned thing
- angle: byte angle.
The return value is the number of things spawned.
See SpawnSpot for examples. SpawnSpotForced uses the same arguments in the same way.
|ACS spawn functions|