Thing_SpawnNoFog
137:Thing_SpawnNoFog (tid, type, angle, newtid)
- tid: Thing ID of the map spot to spawn the thing at
- type: Type of thing to spawn
- angle: Byte angle for the thing to face
- newtid: TID to give spawned thing
Spawns a thing without the teleporter fog. Note that this special requires the actor being spawned to have a SpawnID. To spawn an actor without one, use the SpawnSpot function instead.
Usage
tid is a number that makes a thing unique, the default is zero, and therefore, a TID is usually set to something else, like 1. In Doom Builder, you have to right-click on a thing, select the “Effects” tab and change the Thing Tag to something besides 0.
The type is actually from the list of Spawn_numbers. You can either use the number or the defined name (T_SOMETHING) for clarity.
angle is a number between 0–255, representing a byte angle.
newtid is just a way to make the spawned thing unique if you need to refer to it later. It is just a number.