Difference between revisions of "Event list"

From EDukeWiki
Jump to navigation Jump to search
(This is a important formatation, this is a very good way of creating lists without need to count the number of lines per column every time, etc...)
 
(40 intermediate revisions by 11 users not shown)
Line 1: Line 1:
 
{{EDuke32 Intro}}
 
{{EDuke32 Intro}}
 +
{| cellpadding="0" cellspacing="0" border="0" width="100%"
 +
| valign="top" style="border-right: none; padding: 0.6em;" |
 +
This is a list of every event in the current release of EDuke32.
  
This is a list of every event in the current release of EDuke32.
+
All [[events]] are accessed using the [[onevent]] command.
 +
| width="1%" nowrap="nowrap" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
 +
<sup>[1]</sup> [[unsynchronized events|Unsynchronized events]]<br/>
 +
<sup>[2]</sup> may recurse<br/>
 +
<sup>[3]</sup> no current player set
 +
|}
 +
{| cellpadding="0" cellspacing="0" border="0" width="100%"
 +
| width="25%" valign="top" style="border-right: none; padding: 0.6em;" |
 +
Misc events
 +
*[[EVENT_ACTIVATECHEAT]]<sup>[1][2]</sup>
 +
*[[EVENT_CHANGEMENU]]<sup>[1][2]</sup>
 +
*[[EVENT_CHEATGETBOOT]]<sup>[1]</sup>
 +
*[[EVENT_CHEATGETFIRSTAID]]<sup>[1]</sup>
 +
*[[EVENT_CHEATGETHEAT]]<sup>[1]</sup>
 +
*[[EVENT_CHEATGETHOLODUKE]]<sup>[1]</sup>
 +
*[[EVENT_CHEATGETJETPACK]]<sup>[1]</sup>
 +
*[[EVENT_CHEATGETSCUBA]]<sup>[1]</sup>
 +
*[[EVENT_CHEATGETSHIELD]]<sup>[1]</sup>
 +
*[[EVENT_CHEATGETSTEROIDS]]<sup>[1]</sup>
 +
*[[EVENT_CONTINUELEVELMUSICSLOT]]
 +
*[[EVENT_ENDLEVELSCREEN]]
 +
*[[EVENT_EXITGAMESCREEN]]
 +
*[[EVENT_EXITPROGRAMSCREEN]]
 +
*[[EVENT_INIT]]<sup>[1][3]</sup>
 +
*[[EVENT_LOADGAME]]<sup>[1]</sup>
 +
*[[EVENT_MAINMENUSCREEN]]
 +
*[[EVENT_NEWGAME]]<sup>[1]</sup>
 +
*[[EVENT_NEWGAMESCREEN]]
 +
*[[EVENT_OPENMENUSOUND]]
 +
*[[EVENT_PLAYLEVELMUSICSLOT]]
 +
*[[EVENT_POSTLOADGAME]]<sup>[1]</sup>
 +
*[[EVENT_POSTSAVEGAME]]
 +
*[[EVENT_PRELOADGAME]]<sup>[1]</sup>
 +
*[[EVENT_SAVEGAME]]<sup>[1]</sup>
 +
*[[EVENT_SETDEFAULTS]]<sup>[1][3]</sup>
 +
*[[EVENT_SKIPCUTSCENE]]<sup>[2]</sup>
 +
*[[EVENT_SOUND]]<sup>[1][2]</sup>
 +
*[[EVENT_UPDATESCREENAREA]]
 +
 
 +
Unused
 +
*[[EVENT_FAKEDOMOVETHINGS]]<sup>[1]</sup>
 +
 
 +
| width="25%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
 +
Screen drawing events (menus)
 +
*[[EVENT_DISPLAYCURSOR]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYINACTIVEMENU]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYINACTIVEMENUREST]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYMENU]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYMENUREST]]<sup>[1]</sup>
 +
*[[EVENT_GETMENUTILE]]<sup>[1]</sup>
 +
*[[EVENT_MENUCURSORLEFT]]<sup>[1]</sup>
 +
*[[EVENT_MENUCURSORRIGHT]]<sup>[1]</sup>
 +
*[[EVENT_MENUCURSORSHADE]]<sup>[1]</sup>
 +
*[[EVENT_MENUSHADESELECTED]]<sup>[1]</sup>
 +
 
 +
Screen drawing events (special screens and cutscenes)
 +
*[[EVENT_CUTSCENE]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYBONUSSCREEN]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYLOADINGSCREEN]]<sup>[1]</sup>
 +
*[[EVENT_GETLOADTILE]]<sup>[1]</sup>
 +
*[[EVENT_LOGO]]<sup>[1]</sup>
 +
*[[EVENT_PRECUTSCENE]]<sup>[1]</sup>
 +
*[[EVENT_SCREEN]]<sup>[1][2]</sup>
 +
 
 +
Screen drawing events (HUD)
 +
*[[EVENT_DISPLAYBORDER]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYCROSSHAIR]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYLEVELSTATS]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYOVERHEADMAPTEXT]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYPOINTER]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYSBAR]]<sup>[1]</sup>
 +
 
 +
Screen drawing events (player body)
 +
*[[EVENT_DISPLAYACCESS]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYCAMERAOSD]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYFIST]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYKNEE]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYKNUCKLES]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYOVERHEADMAPPLAYER]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYSCUBA]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYSPIT]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYTIP]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYWEAPON]]<sup>[1]</sup>
 +
*[[EVENT_DRAWWEAPON]]<sup>[1]</sup>
 +
 
 +
Screen drawing events (in-game)
 +
*[[EVENT_DISPLAYROOMS]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYROOMSCAMERA]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYROOMSEND]]<sup>[1]</sup>
 +
 
 +
Screen drawing events (misc)
 +
*[[EVENT_DISPLAYEND]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYREST]]<sup>[1]</sup>
 +
*[[EVENT_DISPLAYSTART]]<sup>[1]</sup>
 +
 
 +
| width="25%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
 +
Actor controlling events
 +
*[[EVENT_ANIMATESPRITES]]<sup>[1]</sup>
 +
*[[EVENT_EGS]]<sup>[2]</sup>
 +
*[[EVENT_GAME]]
 +
*[[EVENT_KILLIT]]<sup>[2]</sup>
 +
*[[EVENT_LOADACTOR]]<sup>[3]</sup>
 +
*[[EVENT_PREGAME]]
 +
*[[EVENT_RECOGSOUND]]
 +
*[[EVENT_SPAWN]]<sup>[2]</sup>
 +
 
 +
Global events
 +
*[[EVENT_DAMAGECEILING]]
 +
*[[EVENT_DAMAGEFLOOR]]
 +
*[[EVENT_DAMAGEHPLANE]]
 +
*[[EVENT_DAMAGESPRITE]]
 +
*[[EVENT_DAMAGEWALL]]
 +
*[[EVENT_ENTERLEVEL]]
 +
*[[EVENT_MOVEEFFECTORS]]
 +
*[[EVENT_MOVESECTOR]]
 +
*[[EVENT_POSTDAMAGESPRITE]]
 +
*[[EVENT_PRELEVEL]]
 +
*[[EVENT_PREWORLD]]
 +
*[[EVENT_WORLD]]
 +
 
 +
Player controlling events
 +
*[[EVENT_CHANGEWEAPON]]
 +
*[[EVENT_CHECKFLOORDAMAGE]]
 +
*[[EVENT_CHECKTOUCHDAMAGE]]
 +
*[[EVENT_DOFIRE]]
 +
*[[EVENT_GETAUTOAIMANGLE]]
 +
*[[EVENT_GETSHOTRANGE]]
 +
*[[EVENT_INCURDAMAGE]]
 +
*[[EVENT_RESETINVENTORY]]
 +
*[[EVENT_RESETPLAYER]]
 +
*[[EVENT_RESETWEAPONS]]
  
<div style="column-count:3;-moz-column-count:3;">
+
| width="25%" valign="top" style="border-left: none; padding: 0.6em;" |
 +
Input controlling/activated events
 
*[[EVENT_AIMDOWN]]
 
*[[EVENT_AIMDOWN]]
 
*[[EVENT_AIMUP]]
 
*[[EVENT_AIMUP]]
*[[EVENT_ANIMATESPRITES]][1]
+
*[[EVENT_ALTWEAPON]]
*[[EVENT_CHANGEWEAPON]]
 
*[[EVENT_CHEATGETBOOT]][1]
 
*[[EVENT_CHEATGETFIRSTAID]][1]
 
*[[EVENT_CHEATGETHEAT]][1]
 
*[[EVENT_CHEATGETHOLODUKE]][1]
 
*[[EVENT_CHEATGETJETPACK]][1]
 
*[[EVENT_CHEATGETSCUBA]][1]
 
*[[EVENT_CHEATGETSHIELD]][1]
 
*[[EVENT_CHEATGETSTEROIDS]][1]
 
 
*[[EVENT_CROUCH]]
 
*[[EVENT_CROUCH]]
*[[EVENT_DISPLAYBONUSSCREEN]][1]
 
*[[EVENT_DISPLAYCROSSHAIR]][1]
 
*[[EVENT_DISPLAYLOADINGSCREEN]][1]
 
*[[EVENT_DISPLAYMENU]][1]
 
*[[EVENT_DISPLAYMENUREST]][1]
 
*[[EVENT_DISPLAYREST]][1]
 
*[[EVENT_DISPLAYROOMS]][1]
 
*[[EVENT_DISPLAYSBAR]][1]
 
*[[EVENT_DISPLAYWEAPON]][1]
 
*[[EVENT_DOFIRE]]
 
*[[EVENT_DRAWWEAPON]][1]
 
*[[EVENT_EGS]]
 
*[[EVENT_ENTERLEVEL]][1]
 
*[[EVENT_FAKEDOMOVETHINGS]][1]
 
 
*[[EVENT_FIRE]]
 
*[[EVENT_FIRE]]
 
*[[EVENT_FIREWEAPON]]
 
*[[EVENT_FIREWEAPON]]
*[[EVENT_GAME]]
 
*[[EVENT_GETAUTOAIMANGLE]]
 
*[[EVENT_GETLOADTILE]][1]
 
*[[EVENT_GETMENUTILE]][1]
 
*[[EVENT_GETSHOTRANGE]]
 
 
*[[EVENT_HOLODUKEOFF]]
 
*[[EVENT_HOLODUKEOFF]]
 
*[[EVENT_HOLODUKEON]]
 
*[[EVENT_HOLODUKEON]]
 
*[[EVENT_HOLSTER]]
 
*[[EVENT_HOLSTER]]
*[[EVENT_INCURDAMAGE]]
 
*[[EVENT_INIT]][1]
 
 
*[[EVENT_INVENTORY]]
 
*[[EVENT_INVENTORY]]
 
*[[EVENT_INVENTORYLEFT]]
 
*[[EVENT_INVENTORYLEFT]]
 
*[[EVENT_INVENTORYRIGHT]]
 
*[[EVENT_INVENTORYRIGHT]]
 
*[[EVENT_JUMP]]
 
*[[EVENT_JUMP]]
*[[EVENT_KILLIT]]
+
*[[EVENT_LASTWEAPON]]
*[[EVENT_LOADACTOR]]
 
*[[EVENT_LOGO]]
 
 
*[[EVENT_LOOKDOWN]]
 
*[[EVENT_LOOKDOWN]]
 
*[[EVENT_LOOKLEFT]]
 
*[[EVENT_LOOKLEFT]]
Line 56: Line 158:
 
*[[EVENT_MOVEBACKWARD]]
 
*[[EVENT_MOVEBACKWARD]]
 
*[[EVENT_MOVEFORWARD]]
 
*[[EVENT_MOVEFORWARD]]
*[[EVENT_NEWGAME]]
 
 
*[[EVENT_NEXTWEAPON]]
 
*[[EVENT_NEXTWEAPON]]
 
*[[EVENT_PRESSEDFIRE]]
 
*[[EVENT_PRESSEDFIRE]]
Line 62: Line 163:
 
*[[EVENT_PROCESSINPUT]]
 
*[[EVENT_PROCESSINPUT]]
 
*[[EVENT_QUICKKICK]]
 
*[[EVENT_QUICKKICK]]
*[[EVENT_RESETINVENTORY]]
 
*[[EVENT_RESETPLAYER]]
 
*[[EVENT_RESETWEAPONS]]
 
 
*[[EVENT_RETURNTOCENTER]]
 
*[[EVENT_RETURNTOCENTER]]
 
*[[EVENT_SELECTWEAPON]]
 
*[[EVENT_SELECTWEAPON]]
 
*[[EVENT_SOARDOWN]]
 
*[[EVENT_SOARDOWN]]
 
*[[EVENT_SOARUP]]
 
*[[EVENT_SOARUP]]
*[[EVENT_SPAWN]]
 
 
*[[EVENT_STRAFELEFT]]
 
*[[EVENT_STRAFELEFT]]
 
*[[EVENT_STRAFERIGHT]]
 
*[[EVENT_STRAFERIGHT]]
Line 92: Line 189:
 
*[[EVENT_WEAPKEY8]]
 
*[[EVENT_WEAPKEY8]]
 
*[[EVENT_WEAPKEY9]]
 
*[[EVENT_WEAPKEY9]]
</div>
+
|}
 
 
[1] [[unsynchronized events|Unsynchronized events]]
 
 
 
All [[events]] are accessed using the [[onevent]] command.
 
  
 
[[Category:Event manipulation]]
 
[[Category:Event manipulation]]
 +
[[Category:Scripting documentation]]

Latest revision as of 22:57, 24 August 2018

EDuke32 Scripting

This is a list of every event in the current release of EDuke32.

All events are accessed using the onevent command.

[1] Unsynchronized events
[2] may recurse
[3] no current player set

Misc events

Unused

Screen drawing events (menus)

Screen drawing events (special screens and cutscenes)

Screen drawing events (HUD)

Screen drawing events (player body)

Screen drawing events (in-game)

Screen drawing events (misc)

Actor controlling events

Global events

Player controlling events

Input controlling/activated events