Thing linedef types: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
(DRY principle: just redirect to the part in the big section.)
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
Eternity can spawn things in the map.
#REDIRECT [[Detailed_parameterized_linedef_specification#Things]]
*398:'''Thing_Spawn'''(tid, type, angle, newtid)
:Spawns an object of '''acs_spawndata''' '''num''' ''type'' on top of map spot things marked with TID ''tid''. ''Newtid'' can be assigned as spawnee's own TID. Note: teleportation fog is spawned as well.
*399:'''Thing_SpawnNoFog'''(tid, type, angle, newtid)
:Similar to above, but without teleportation fog.
*402:'''Thing_Projectile'''(tid, type, angle, speed, verticalspeed)
:Throws a projectile from a map spot. Can also be used to throw a flying monster. Like in Thing_Spawn, ''type'' is an '''acs_spawndata num'''. Note that ''speed'' and ''verticalspeed'' are in eighths (units per 8 tics). Up is positive for ''verticalspeed''.
*403:'''Thing_ProjectileGravity'''(tid, type, angle, speed, verticalspeed)
:Same as above, but the thrown projectile or monster will be subject to gravity.
*404:'''Thing_Activate'''(tid)
:"Activates" an object of TID ''tid''. The object will enter ''activestate'' while playing ''activatesound''. If the object is a monster (SHOOTABLE or KILLABLE flag set), its DORMANT flag will be reset as well, "waking it up" from a statue.
*405:'''Thing_Deactivate'''(tid)
:Analogous/opposite to the above, the object will enter ''inactivestate'' while playing ''deactivatesound''. If the object is a monster (SHOOTABLE or KILLABLE flag set), its DORMANT flag will be set as well, turning it into a statue.
''Back to [[Linedef types]]''

Latest revision as of 11:39, 4 January 2016