SpawnSpotFacingForced

From Eternity Wiki
Revision as of 05:17, 22 June 2019 by Printz (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

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.

See also