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...")
 
 
Line 5: Line 5:


===Parameters===
===Parameters===
*''classname'': type of thing to spawn. Allows ZDoom compatibility names too.
*''classname'': type of thing to spawn. Allows both Eternity and ZDoom compatibility names.
*''spottid'': [[TID]] of map spots where to create the things. Target spots need not be of the designated "spawn spot" type.
*''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.
*''tid'': optional TID to give to the newly spawned things.

Latest revision as of 05:17, 22 June 2019

ACS function[edit]

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[edit]

  • classname: type of thing to spawn. Allows both Eternity and ZDoom compatibility names.
  • 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[edit]

Returns the number of things spawned.

See also[edit]