Classes:ArtiTeleport
The Chaos Device is a magic artifact that enters the player's inventory when picked up and, when activated, gives the player an "emergency escape" from dangerous situations and unmorphs them if they are currently morphed.
Note: Wait! Stop! Before you copy this actor's definition into your mod, remember the following things:
|
Darchala's Chaos Device | |||
---|---|---|---|
Actor type | Artifact | Game | ![]() |
DoomEd Number | 36 | Class Name | ArtiTeleport |
Spawn ID | 18 | Identifier | T_ITEMTELEPORT |
Classes: Inventory→ArtiTeleport
Using in DECORATE
When this (or inherited) actor is used it teleports the activator to one of the player starts. It also cancels player morph and plays the sound "*evillaugh" (if defined).
DECORATE definition
ACTOR ArtiTeleport : Inventory native { +COUNTITEM +FLOATBOB +INVENTORY.INVBAR +INVENTORY.PICKUPFLASH +INVENTORY.FANCYPICKUPSOUND Inventory.DefMaxAmount Inventory.Icon "ARTIATLP" Inventory.PickupSound "misc/p_pkup" Inventory.PickupMessage "$TXT_ARTITELEPORT" // "CHAOS DEVICE" Tag "$TAG_ARTITELEPORT" States { Spawn: ATLP ABCB 4 Loop } }
Notes
As of 2.3.0, the "*evillaugh" sound is recognised in any game; previously it could be defined, but was only fully recognised by Heretic.
This article is issued from Zdoom. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.