SpawnSpotFacingForced: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(Created page with "==ACS function== int SpawnSpotFacingForced (str classname, int spottid [, int tid]) Creates things on top of tagged map spots. It will do so even if they would be blocked. Un...") |
(No difference)
|
Revision as of 05:17, 22 June 2019
ACS function
int SpawnSpotFacingForced (str classname, int spottid [, int tid])
Creates things on top of tagged map spots. It will do so even if they would be blocked. Unlike SpawnSpotForced, the created things face in the directions of the tagged map spots, not in a parameter-given angle.
Parameters
- classname: type of thing to spawn. Allows ZDoom compatibility names too.
- spottid: TID of map spots where to create the things. Target spots need not be of the designated "spawn spot" type.
- tid: optional TID to give to the newly spawned things.
Return value
Returns the number of things spawned.