SpawnSpotFacingForced

From Eternity Wiki
Jump to navigationJump to search

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]