Thing linedef types: Difference between revisions

From Eternity Wiki
Jump to navigationJump to search
No edit summary
(Added Thing_ChangeTID)
Line 13: Line 13:
*405:'''Thing_Deactivate'''(tid)
*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.
: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.
*421:'''Thing_ChangeTID'''(oldtid, newtid)
:Sets the TID of all things which currently have ''oldtid'' to the value ''newtid''.
[[category:Editing reference]]
[[category:Editing reference]]

Revision as of 02:27, 17 November 2015

Eternity can spawn or manipulate things in the map. All thing linedefs are parameterized.

Back to Linedef types
  • 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.
  • 421:Thing_ChangeTID(oldtid, newtid)
Sets the TID of all things which currently have oldtid to the value newtid.