SpawnSpotFacingForced
Jump to navigation
Jump to search
int SpawnSpotFacingForced (str classname, int spottid, int tid)
Usage
This is an alternative to SpawnSpotFacing which takes the same parameters. It forces the actor 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 MapSpot
- tid: the thing id to give the spawned thing
The return value is the number of things spawned.
Examples
See SpawnSpotFacing for examples. SpawnSpotFacingForced uses the same arguments in the same way.
ACS spawn functions | |
---|---|
Spawn | SpawnForced |
SpawnSpot | SpawnSpotForced |
SpawnSpotFacing | SpawnSpotFacingForced |
SpawnProjectile |