Thing_SpawnNoFog

From ZDoom Wiki

Jump to: navigation, search

137:Thing_SpawnNoFog (tid, type, angle, new tid)

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
new tid: 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.

New TID is just a way to make the spawned thing unique if you need to refer to it later. It is just a number.

Personal tools