Thing Spawn: Difference between revisions
From Eternity Wiki
Jump to navigationJump to search
(Created page with "135:'''Thing_Spawn'''(''tid'', ''type'', ''angle'', ''newtid'') Spawns a thing at one or more map spots. ==Arguments== *'''tid''': TID of target things where to spawn the...") |
No edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 8: | Line 8: | ||
*'''newtid''': optional TID to assign to the spawned things. | *'''newtid''': optional TID to assign to the spawned things. | ||
==Remarks== | ==Remarks== | ||
This special won't spawn anything which may get stuck. | This special won't spawn anything which may get stuck. If none of the target spots allow a thing to spawn, the special fails triggering. | ||
It will also produce a teleportation fog. To avoid fog, use the [[Thing_SpawnNoFog]] special. | It will also produce a teleportation fog with its specific noise. To avoid fog, use the [[Thing_SpawnNoFog]] special. | ||
Spawned pickable items will not be able to respawn. | Spawned pickable items will not be able to respawn. | ||
'''Tid''' can't be used to spawn on top of activator. | '''Tid''' can't be used to spawn on top of activator. |
Latest revision as of 16:52, 30 April 2018
135:Thing_Spawn(tid, type, angle, newtid)
Spawns a thing at one or more map spots.
Arguments[edit]
- tid: TID of target things where to spawn the desired objects. If multiple such things exist, objects of ACS spawn ID type will be materialized at each position.
- type: ACS spawn ID of thing to spawn. Due to necessary Hexen backwards compatibility, this number is not the editor number of the thing. It's a separate number identifying the class. See thingtype and check "things.edf" from the base folder to find the spawn IDs of the main things.
- angle: byte angle where the spawned things should face.
- newtid: optional TID to assign to the spawned things.
Remarks[edit]
This special won't spawn anything which may get stuck. If none of the target spots allow a thing to spawn, the special fails triggering.
It will also produce a teleportation fog with its specific noise. To avoid fog, use the Thing_SpawnNoFog special.
Spawned pickable items will not be able to respawn.
Tid can't be used to spawn on top of activator.