Editing List of codepointers

From Eternity Wiki
Jump to navigationJump to search
Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then publish the changes below to finish undoing the edit.

Latest revision Your text
Line 1: Line 1:
This '''list of codepointers''' is a list of all the action routines which can be performed by [[thingtype|things]] from [[EDF]] [[frame]]s. They are common for all games, so for example Heretic codepointers can be used in Doom.
This '''list of codepointers''' is a list of all the action routines which can be used in [[EDF]] [[frame]]s. They are common for all games, so for example Heretic codepointers can be used in Doom.


You can specify the codepointers with or without their internal A_ prefix, even inside [[DECORATE state syntax]]. For simplicity, they will be referred in this wiki without the prefix.
You can specify the codepointers with or without their internal A_ prefix, even inside [[DECORATE state syntax]]. For simplicity, they will be referred in this wiki without the prefix.


Note that some codepointers, inherited from MBF, use the '''misc1''' and '''misc2''' frame properties, instead of the more general '''args''' list. Side effects aside, this also means that in the DECORATE syntax they will have to use the '''offset'''(''misc1'', ''misc2'') specifier. They all have DECORATE-friendly equivalents however.
Note that some codepointers, inherited from MBF, use the '''misc1''' and '''misc2''' frame properties, instead of the more general '''args''' list. Side effects aside, this also means that they will not be usable in the DECORATE syntax, but they all have DECORATE-compatible equivalents.


'''IMPORTANT:''' Do not provide more nonzero arguments to the codepointers than specified in the reference. Doing so may break forward compatibility with versions of Eternity that implement new functionality to codepointers.
'''IMPORTANT:''' Do not provide more nonzero arguments to the codepointers than specified in the reference. Doing so may break forward compatibility with versions of Eternity that implement new functionality to codepointers.
Line 11: Line 11:


==Player guns==
==Player guns==
===Weapon maintenance===
===Attacks===
====Parameterized====
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[CheckReload]]||Super shotgun reload check.||Doom 2
||[[CustomPlayerMelee]]||Configurable player melee attack.||Eternity
|-
|-
||[[CheckReloadEx]]||Extended version of [[CheckReload]] that allows counter comparison.||Eternity
||[[FireCustomBullets]]||Configurable player bullet (hitscan) attack.||Eternity
|-
|-
||[[GunFlash]]||Produces a gun flash sprite without firing anything at the current moment.||Doom
||[[FirePlayerMissile]]||Configurable player projectile attack.||Eternity
|-
|-
||[[JumpIfNoAmmo]]||Jumps to a state if ammo is gone.||ZDoom
||[[PlayerThunk]]||{{deprecated}} Run monster-specific codepointers as weapon actions.||Eternity
|-
||[[Light0]]||Resets the gun flash light level.||Doom
|-
||[[Light1]]||Sets the gun flash light level to 1.||Doom
|-
||[[Light2]]||Sets the gun flash light level to 2.||Doom
|-
||[[Lower]]||Action during a weapon's lowering sequence.||Doom
|-
||[[Raise]]||Action during a weapon's raise sequence.||Doom
|-
||[[ReFire]]||Skip frame if shooting is sustained (e.g. for plasma rifle's cooldown effect).||Doom
|-
||[[SubtractAmmo]]||Consumes one ammo unit without firing.||Eternity
|-
||[[WeaponReady]]||Action during a weapon's idle sequence.||Doom
|}
|}


===Player attacks===
====Classic====
====Classic Doom====
These exist to support the vanilla Doom player attacks.
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! Specifics
! Origin
! First game it appeared
|-
||[[BFGsound]]||Plays the BFG charge-up sound effect.||BFG||Doom
|-
||[[CloseShotgun2]]||Plays the super shotgun closing sound effect. Also includes [[ReFire]].||Super shotgun||Doom 2
|-
||[[FireBFG]]||BFG9000 attack.||BFG||Doom
|-
||[[FireCGun]]||Chaingun attack.||||Doom
|-
|-
||[[FireMissile]]||Rocket launcher attack.||||Doom
||[[FireBFG]]||BFG9000 attack.||Doom
|-
|-
||[[FireOldBFG]]||Alpha Doom BFG attack (made available since [[MBF]]).||||Doom
||[[FireCGun]]||Chaingun attack.||Doom
|-
|-
||[[FirePistol]]||Pistol attack.||||Doom
||[[FireMissile]]||Rocket launcher attack.||Doom
|-
|-
||[[FirePlasma]]||Plasma rifle attack.||||Doom
||[[FireOldBFG]]||Alpha Doom BFG attack (made available since [[MBF]]).||Doom
|-
|-
||[[FireShotgun]]||Shotgun attack.||||Doom
||[[FirePistol]]||Pistol attack.||Doom
|-
|-
||[[FireShotgun2]]||Super shotgun attack.||Super shotgun||Doom 2
||[[FirePlasma]]||Plasma rifle attack.||Doom
|-
|-
||[[LoadShotgun2]]||Plays the super shotgun loading sound effect.||Super shotgun||Doom 2
||[[FireShotgun]]||Shotgun attack.||Doom
|-
|-
||[[OpenShotgun2]]||Plays the super shotgun opening sound effect.||Super shotgun||Doom 2
||[[FireShotgun2]]||Super shotgun attack.||Doom 2
|-
|-
||[[Punch]]||Fist attack.||||Doom
||[[Punch]]||Fist attack.||Doom
|-
|-
||[[Saw]]||Chainsaw attack.||||Doom
||[[Saw]]||Chainsaw attack.||Doom
|}
|}
====Classic Heretic====
 
These exist to support the vanilla Doom and Heretic player attacks.
===Control===
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[FireBlasterPL1]]||Dragon claw attack.||Heretic
||[[CheckReload]]||Super shotgun reload check.||Doom 2
|-
|-
||[[FireCrossbowPL1]]||Ethereal crossbow attack.||Heretic
||[[CheckReloadEx]]||Extended version of [[CheckReload]] that allows counter comparison.||Eternity
|-
|-
||[[FireCrossbowPL2]]||Ethereal crossbow attack with Tome of Power.||Heretic
||[[JumpIfNoAmmo]]||Jumps to a state if ammo is gone.||ZDoom
|-
|-
||[[FireGoldWandPL1]]||Elven wand attack.||Heretic
||[[Lower]]||Action during a weapon's lowering sequence.||Doom
|-
|-
||[[FireGoldWandPL2]]||Elven wand attack with Tome of Power.||Heretic
||[[Raise]]||Action during a weapon's raise sequence.||Doom
|-
|-
||[[FireMacePL1]]||Fire mace attack.||Heretic
||[[ReFire]]||Skip frame if shooting is sustained (e.g. for plasma rifle's cooldown effect).||Doom
|-
|-
||[[FireMacePL2]]||Fire mace attack with Tome of Power.||Heretic
||[[WeaponReady]]||Action during a weapon's idle sequence.||Doom
|}
 
===Other===
{|class="wikitable sortable"
! Name
! Description
! Origin
|-
|-
||[[FirePhoenixPL1]]||[[Doom Wiki:Phoenix Rod|Phoenix Rod]] attack.||Heretic
||[[EjectCasing]]||Used for the effect of throwing casing.||Eternity
|}
 
===Muzzle flash effects===
{|class="wikitable sortable"
! Name
! Description
! Origin
|-
|-
||[[FirePhoenixPL2]]||Phoenix rod attack with Tome of Power.||Heretic
||[[GunFlash]]||Produces a gun flash sprite without firing anything at the current moment.||Doom
|-
|-
||[[FireSkullRodPL1]]||[[Doom Wiki:Hellstaff|Hellstaff]] attack.||Heretic
||[[Light0]]||Resets the gun flash light level.||Doom
|-
|-
||[[GauntletAttack]]||Gauntlets of the Necromancer attack.||Heretic
||[[Light1]]||Sets the gun flash light level to 1.||Doom
|-
|-
||[[InitPhoenixPL2]]||Heretic Tome of Power Phoenix Rod startup.||Heretic
||[[Light2]]||Sets the gun flash light level to 2.||Doom
|}
|}


====Parameterized====
===DOOM gun sound effects===
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
||[[CustomPlayerMelee]]||Configurable player melee attack.||Eternity
|-
|-
||[[EjectCasing]]||Used for the effect of throwing casing.||Eternity
||[[BFGSound]]||Plays the BFG charge-up sound effect.||Doom
|-
|-
||[[FireCustomBullets]]||Configurable player bullet (hitscan) attack.||Eternity
||[[CloseShotgun2]]||Plays the super shotgun closing sound effect. Also includes [[ReFire]].||Doom 2
|-
|-
||[[FirePlayerMissile]]||Configurable player projectile attack.||Eternity
||[[LoadShotgun2]]||Plays the super shotgun loading sound effect.||Doom 2
|-
|-
||[[PlayerThunk]]||{{deprecated}} Run monster-specific codepointers as weapon actions.||Eternity
||[[OpenShotgun2]]||Plays the super shotgun opening sound effect.||Doom 2
|}
|}


===Weapon frame scripting===
===Frame scripting===
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[PlayerStartScript]]||Starts map script, as from a player weapon.||Eternity
||[[PlayerStartScript]]||Starts map script, as from a player weapon.||Eternity
Line 152: Line 140:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[Face]]||Face a specified angle.||MBF
||[[Face]]||Face a specified angle.||MBF
Line 166: Line 154:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[BFG11KHit]]||[[SMMU]] BFG variant.||SMMU
||[[BFG11KHit]]||[[SMMU]] BFG variant.||SMMU
Line 181: Line 169:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[BrainExplode]]||Brain perpetual explosion controller.||Doom 2
||[[BrainExplode]]||Brain perpetual explosion controller.||Doom 2
Line 194: Line 182:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[Detonate]]||Thing damage controlled explosion.||MBF
||[[Detonate]]||Thing damage controlled explosion.||MBF
Line 201: Line 189:
|-
|-
||[[Explode]]||Rocket/barrel splash damage.||Doom
||[[Explode]]||Rocket/barrel splash damage.||Doom
|-
||[[HticExplode]]||Heretic-compatible explosion.||Heretic
|-
|-
||[[Mushroom]]||[[MBF]]-style mushroom explosion.||MBF
||[[Mushroom]]||[[MBF]]-style mushroom explosion.||MBF
|-
||[[MushroomEx]]||Extended mushroom explosion codepointer.||Eternity
|-
|-
||[[Nailbomb]]||[[SMMU]]-style explosion with shrapnels.||SMMU
||[[Nailbomb]]||[[SMMU]]-style explosion with shrapnels.||SMMU
|}
=====Heretic=====
{|class="wikitable sortable"
! Name
! Description
! First game it appeared
|-
||[[DeathBallImpact]]||Heretic super firemace sphere impact.||Heretic
|-
||[[HticExplode]]||Heretic-compatible explosion.||Heretic
|-
||[[MaceBallImpact]]||Heretic small firemace sphere impact.||Heretic
|-
||[[MaceBallImpact2]]||Heretic medium firemace sphere impact.||Heretic
|}
|}


Line 227: Line 201:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[GenTracer]]||Generic homing projectile.||Eternity
||[[GenTracer]]||Generic homing projectile.||Eternity
|-
|-
||[[HticTracer]]||Heretic nitrogolem homing projectile (generalized).||Heretic
||[[HticTracer]]||Heretic nitrogolem homing projectile.||Heretic
|-
||[[MummyFX1Seek]]||Heretic nitrogolem homing projectile (particular).||Heretic
|-
|-
||[[Tracer]]||Revenant homing projectile.||Doom 2
||[[Tracer]]||Revenant homing projectile.||Doom 2
Line 242: Line 214:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[Fire]]||Stick on the face of attacker's target, like the archvile's fire effect.||Doom 2
||[[Fire]]||Stick on the face of attacker's target, like the archvile's fire effect.||Doom 2
Line 250: Line 222:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
||[[FlameEnd]]||Phoenix rod flame rising.||Heretic
|-
||[[FloatPuff]]||Phoenix rod flame hitting wall.||Heretic
|-
|-
||[[BeastPuff]]||Weredragon fire projectile smoke.||Heretic
||[[BeastPuff]]||Weredragon fire projectile smoke.||Heretic
|-
||[[BoltSpark]]||Ethereal arrow trail.||Heretic
|-
|-
||[[BlueSpark]]||Create a blue D'sparil attack projectile.||Heretic
||[[BlueSpark]]||Create a blue D'sparil attack projectile.||Heretic
Line 267: Line 233:
|-
|-
||[[LichIceImpact]]||Explode iron lich ice globe into shards.||Heretic
||[[LichIceImpact]]||Explode iron lich ice globe into shards.||Heretic
|-
||[[MacePL1Check]]||Small Heretic mace sphere maintenance.||Heretic
|-
|-
||[[MntrFloorFire]]||Used by the maulotaur ground fire projectile.||Heretic
||[[MntrFloorFire]]||Used by the maulotaur ground fire projectile.||Heretic
Line 285: Line 249:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[AlertMonsters]]||Shout so other monsters chase the player.||ZDoom
||[[AlertMonsters]]||Shout so other monsters chase the player.||ZDoom
Line 317: Line 281:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[BetaSkullAttack]]||Remote melee attack, as used by the Doom alpha lost souls (available since [[MBF]]).||MBF beta emulation
||[[BetaSkullAttack]]||Remote melee attack, as used by the Doom alpha lost souls (available since [[MBF]]).||MBF beta emulation
Line 338: Line 302:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[BrainSpit]]||cube spawn||Doom 2
||[[BrainSpit]]||cube spawn||Doom 2
Line 385: Line 349:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[BeastAttack]]||weredragon||Heretic
||[[BeastAttack]]||weredragon||Heretic
Line 438: Line 402:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[BossDeath]]||special monster death functions (such as Baron death in E1M8)||Doom
||[[BossDeath]]||special monster death functions (such as Baron death in E1M8)||Doom
Line 447: Line 411:
|-
|-
||[[Die]]||causes suicide||MBF
||[[Die]]||causes suicide||MBF
|-
||[[FadeIn]]||increments alpha||ZDoom
|-
||[[FadeOut]]||decrements alpha, DOESN'T destroy the thing||ZDoom
|-
|-
||[[Fall]]||remove SOLID flag (used on dying monsters)||Doom
||[[Fall]]||remove SOLID flag (used on dying monsters)||Doom
|-
||[[HideThing]]||Sets DONTDRAW flag on an object||ZDoom
|-
|-
||[[KeenDie]]||open 666-tagged doors on death of all like-named monsters||Doom 2
||[[KeenDie]]||open 666-tagged doors on death of all like-named monsters||Doom 2
Line 463: Line 433:
|-
|-
||[[RestoreSpecialThing2]]||Adds the SPECIAL flag back to an object and sets the object back into its spawnstate.||Heretic
||[[RestoreSpecialThing2]]||Adds the SPECIAL flag back to an object and sets the object back into its spawnstate.||Heretic
|-
||[[SelfDestruct]]||Projectile-compatible counterpart to '''Die'''.||Eternity
|-
|-
||[[SetFlags]]||alter flags||Eternity
||[[SetFlags]]||alter flags||Eternity
|-
|-
||[[SetSpecial]]||alter thing's special and args||ZDoom
||[[SetTranslucent]]||modify alpha amount; setup additiveness or fuzziness||ZDoom
|-
|-
||[[ShowMessage]]||display text message||Eternity
||[[ShowMessage]]||display text message||Eternity
|-
|-
||[[Spawn]]||create another object on top of this one||MBF
||[[Spawn]]||create another object on top of this one||MBF
|-
||[[SpawnEx]]||enhanced spawn variant||Eternity
|-
|-
||[[SteamSpawn]]||create steam effects||Eternity
||[[SteamSpawn]]||create steam effects||Eternity
|-
||[[UnSetFlags]]||alter flags||Eternity
|}
====Visual====
{|class="wikitable sortable"
! Name
! Description
! First game it appeared
|-
||[[ClearSkin]]||Removes the sprite skin.||Eternity
|-
||[[FadeIn]]||increments alpha||ZDoom
|-
||[[FadeOut]]||decrements alpha, DOESN'T destroy the thing||ZDoom
|-
||[[HideThing]]||Sets DONTDRAW flag on an object||ZDoom
|-
||[[SetTranslucent]]||modify alpha amount; setup additiveness or fuzziness||ZDoom
|-
|-
||[[UnHideThing]]||Unsets DONTDRAW flag on an object||ZDoom
||[[UnHideThing]]||Unsets DONTDRAW flag on an object||ZDoom
|-
|-
||[[UnSetFlags]]||alter flags||Eternity
|}
|}
====Heretic====
====Heretic====
Line 503: Line 452:
! Name
! Name
! Description
! Description
! First game it appeared
! Origin
|-
|-
||[[AccelGlitter]]||accelerate upwards||Heretic
||[[AccelGlitter]]||accelerate upwards||Heretic
|-
|-
||[[DripBlood]]||spawn heretic blood||Heretic
||[[DripBlood]]||spawn heretic blood||Heretic
|-
||[[GhostOff]]||Remove the ghost effect||Heretic
|-
|-
||[[HticBossDeath]]||special monster death functions for Heretic||Heretic
||[[HticBossDeath]]||special monster death functions for Heretic||Heretic
|-
||[[Fall|HticDrop]]||{{deprecated}} same thing as [[Fall]]||Heretic
|-
|-
||[[ImpDeath]]||special death for gargoyle||Heretic
||[[ImpDeath]]||special death for gargoyle||Heretic
Line 522: Line 467:
|-
|-
||[[ImpXDeath2]]||special extreme death for gargoyle, stage 2||Heretic
||[[ImpXDeath2]]||special extreme death for gargoyle, stage 2||Heretic
|-
||[[InitKeyGizmo]]||Heretic key lock orb statue maintenance||Heretic
|-
|-
||[[MakePod]]||generate a pod||Heretic
||[[MakePod]]||generate a pod||Heretic
Line 551: Line 494:


===Sound effects===
===Sound effects===
====Generic====
{|class="wikitable sortable"
! Name
! Description
! First game it appeared
|-
||[[AmbientThinker]]||ambient sound maintenance||Eternity
|-
||[[Pain]]||play pain sound||Doom
|-
||[[PlayerScream]]||player-specific, health-dependent (death) sound||Doom
|-
||[[PlaySound]]||custom sound||MBF
|-
||[[PlaySoundEx]]||extended custom sound||ZDoom
|-
||[[Scream]]||play death sound||Doom
|-
||[[XScream]]||extreme death gut noise||Doom
|}
====Game specific====
{|class="wikitable sortable"
{|class="wikitable sortable"
! Name
! Name
! Description
! Description
! First game it appeared
|-
||[[BrainAwake]]||loud bossit sound effect||Doom 2
|-
||[[BrainPain]]||loud bospn sound effect||Doom 2
|-
||[[ContMobjSound]]||Heretic knight axe and nitrogolem missile sounds||Heretic
|-
|-
||[[ESound]]||Heretic water and wind ambiend sounds||Heretic
||[[AmbientThinker]]||ambient sound maintenance
|-
|-
||[[FlameSnd]]||Heretic player burning death sound||Heretic
||[[BabyMetal]]||bspwlk sound effect — also includes Chase!
|-
|-
||[[RavenPlayerScream]]||Heretic player scream||Heretic
||[[BrainAwake]]||loud bossit sound effect
|-
|-
||'''SorDBon'''||Plays sound 329 ('''ht_sordbon''')||Heretic
||[[BrainPain]]||loud bospn sound effect
|-
|-
||'''SorDExp'''||Plays sound 328 ('''ht_sordexp''')||Heretic
||[[FatRaise]]||mancubus warning — also includes FaceTarget
|-
|-
||'''SorDSph'''||Plays sound 327 ('''ht_sordsph''')||Heretic
||[[FireCrackle]]||flame sound effect — also includes "Fire" action!
|-
|-
||'''SorRise'''||Plays sound 322 ('''ht_sorrise''')||Heretic
||[[Hoof]]||cyberdemon hoof sound — also includes Chase!
|-
|-
||'''SorSightSnd'''||Plays sound 323 ('''ht_sorsit''')||Heretic
||[[Metal]]||metal sound effect — also includes Chase!
|-
|-
||'''SorZap'''||Plays sound 321 ('''ht_sorzap''')||Heretic
||[[Pain]]||play pain sound
|-
|-
||[[StartFire]]||flamst sound effect — also includes "Fire" action!||Doom 2
||[[PlayerScream]]||player-specific, health-dependent (death) sound
|-
|-
||[[VileStart]]||archvile heat-up noise||Doom 2
||[[PlaySound]]||custom sound
|}
=====Combined=====
{|class="wikitable sortable"
! Name
! Description
! First game it appeared
|-
|-
||[[BabyMetal]]||bspwlk sound effect — also includes Chase!||Doom 2
||[[PlaySoundEx]]||extended custom sound
|-
|-
||[[FatRaise]]||mancubus warning — also includes FaceTarget||Doom 2
||[[Scream]]||play death sound
|-
|-
||[[FireCrackle]]||flame sound effect — also includes "Fire" action!||Doom 2
||[[SkelWhoosh]]||revenant swing noise — also includes FaceTarget
|-
|-
||[[Hoof]]||cyberdemon hoof sound — also includes Chase!||Doom
||[[SpawnSound]]||boscub sound effect — also includes SpawnFly
|-
|-
||[[Metal]]||metal sound effect — also includes Chase!||Doom
||[[StartFire]]||flamst sound effect — also includes "Fire" action!
|-
|-
||[[SkelWhoosh]]||revenant swing noise — also includes FaceTarget||Doom 2
||[[VileStart]]||archvile heat-up noise
|-
|-
||[[SpawnSound]]||boscub sound effect — also includes SpawnFly||Doom 2
||[[XScream]]||extreme death gut noise
|}
|}


Line 630: Line 539:
! Name
! Name
! Description
! Description
! First game it appeared
|-
||[[AproxDistance]]||assign distance from target to a variable||Eternity
|-
||[[CheckPlayerDone]]||jump to a frame if not under player control||ZDoom
|-
||[[CopyCounter]]||copy a variable to another variable||Eternity
|-
|-
||[[CounterDiceRoll]]||set a variable to the result of a damage calculation||Eternity
||[[AproxDistance]]||assign distance from target to a variable
|-
|-
||[[CounterJump]]||counter-based next frame||Eternity
||[[CheckPlayerDone]]||jump to a frame if not under player control
|-
|-
||[[CounterJumpEx]]||DECORATE-compatible counter-based next frame||Eternity
||[[CopyCounter]]||copy a variable to another variable
|-
|-
||[[CounterOp]]||set a variable to an operation of another 2 variables||Eternity
||[[CounterJump]]||counter-based next frame
|-
|-
||[[CounterSwitch]]||counter-based set of frames||Eternity
||[[CounterJumpEx]]||DECORATE-compatible counter-based next frame
|-
|-
||[[CounterSwitchEx]]||DECORATE-compatible counter-based set of states||Eternity
||[[CounterOp]]||set a variable to an operation of another 2 variables
|-
|-
||[[HealthJump]]||health-based next frame||Eternity
||[[CounterSwitch]]||counter-based set of frames
|-
|-
||[[JumpIfTargetInLOS]]||jump to frame if target is in the field of view||ZDoom
||[[CounterSwitchEx]]||DECORATE-compatible counter-based set of states
|-
|-
||[[RandomJump]]||random next frame||MBF
||[[HealthJump]]||health-based next frame
|-
|-
||[[Jump]]||Decorate-compatible alternative to RandomJump.||ZDoom
||[[JumpIfTargetInLOS]]||jump to frame if target is in the field of view
|-
|-
||[[SetCounter]]||set a variable||Eternity
||[[RandomJump]]||random next frame
|-
|-
||[[SetTics]]||set frame duration||Eternity
||[[Jump]]||Decorate-compatible alternative to RandomJump.
|-
|-
||[[StartScript]]||run map script||Eternity
||[[SetCounter]]||set a variable
|-
|-
||[[StartScriptNamed]]||run named map script||Eternity
||[[SetTics]]||set frame duration
|-
|-
||[[TargetJump]]||go to designated frame if having a target||Eternity
||[[StartScript]]||run map script
|}
 
===Powerup use===
These are triggered from [[EDF_item_effects_and_inventory#artifact|artifact]]'s '''useaction''' field, not from states.
{|class="wikitable sortable"
! Name
! Description
! First game it appeared
|-
|-
||[[HticArtiTele]]||Chaos Device action||Heretic
||[[StartScriptNamed]]||run named map script
|-
|-
||[[HticSpawnFireBomb]]||Time Bomb of the Ancients action||Heretic
||[[TargetJump]]||go to designated frame if having a target
|}
|}


[[Category:Codepointers|*]]
[[Category:Codepointers|*]]
[[Category:EDF]]
[[Category:EDF]]
Please note that all contributions to Eternity Wiki are considered to be released under the GNU Free Documentation License 1.2 (see Eternity Wiki:Copyrights for details). If you do not want your writing to be edited mercilessly and redistributed at will, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource. Do not submit copyrighted work without permission!
Cancel Editing help (opens in new window)

Templates used on this page: