Event list: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Fox (talk | contribs)
No edit summary
m reshuffled
(5 intermediate revisions by 2 users not shown)
Line 8: Line 8:
<sup>[1]</sup> [[unsynchronized events|Unsynchronized events]]<br/>
<sup>[1]</sup> [[unsynchronized events|Unsynchronized events]]<br/>
<sup>[2]</sup> may recurse<br/>
<sup>[2]</sup> may recurse<br/>
<sup>[3]</sup> no current player set
<sup>[3]</sup> no current player set<br/>
<sup>[4]</sup> lunatic (lua) build only<br/>
<sup>[5]</sup> eduke32 standalone build only
|}
|}
{| cellpadding="0" cellspacing="0" border="0" width="100%"
{| cellpadding="0" cellspacing="0" border="0" width="100%"
Line 14: Line 16:
Misc events
Misc events
*[[EVENT_ACTIVATECHEAT]]<sup>[1][2]</sup>
*[[EVENT_ACTIVATECHEAT]]<sup>[1][2]</sup>
*[[EVENT_CHANGEMENU]]<sup>[1][2]</sup>
*[[EVENT_CAPIR]]<sup>[1][3][5]</sup>
*[[EVENT_CHEATGETBOOT]]<sup>[1]</sup>
*[[EVENT_CHEATGETBOOT]]<sup>[1]</sup>
*[[EVENT_CHEATGETFIRSTAID]]<sup>[1]</sup>
*[[EVENT_CHEATGETFIRSTAID]]<sup>[1]</sup>
Line 23: Line 25:
*[[EVENT_CHEATGETSHIELD]]<sup>[1]</sup>
*[[EVENT_CHEATGETSHIELD]]<sup>[1]</sup>
*[[EVENT_CHEATGETSTEROIDS]]<sup>[1]</sup>
*[[EVENT_CHEATGETSTEROIDS]]<sup>[1]</sup>
*[[EVENT_CONTINUELEVELMUSICSLOT]]
*[[EVENT_ENDLEVELSCREEN]]
*[[EVENT_ENDLEVELSCREEN]]
*[[EVENT_EVENT_UPDATESCREENAREA]]
*[[EVENT_EXITGAMESCREEN]]
*[[EVENT_EXITGAMESCREEN]]
*[[EVENT_EXITPROGRAMSCREEN]]
*[[EVENT_EXITPROGRAMSCREEN]]
*[[EVENT_INIT]]<sup>[1][3]</sup>
*[[EVENT_INIT]]<sup>[1][3]</sup>
*[[EVENT_INITCOMPLETE]]<sup>[1][3]</sup>
*[[EVENT_LOADGAME]]<sup>[1]</sup>
*[[EVENT_LOADGAME]]<sup>[1]</sup>
*[[EVENT_MAINMENUSCREEN]]
*[[EVENT_MAINMENUSCREEN]]
*[[EVENT_NEWGAME]]<sup>[1]</sup>
*[[EVENT_NEWGAME]]<sup>[1]</sup>
*[[EVENT_NEWGAMECUSTOM]]<sup>[1]</sup>
*[[EVENT_NEWGAMESCREEN]]
*[[EVENT_NEWGAMESCREEN]]
*[[EVENT_OPENMENUSOUND]]
*[[EVENT_PLAYLEVELMUSICSLOT]]
*[[EVENT_POSTLOADGAME]]<sup>[1]</sup>
*[[EVENT_POSTSAVEGAME]]
*[[EVENT_POSTSAVEGAME]]
*[[EVENT_PRELOADGAME]]<sup>[1]</sup>
*[[EVENT_PRELOADGAME]]<sup>[1]</sup>
*[[EVENT_SAVEGAME]]<sup>[1]</sup>
*[[EVENT_SAVEGAME]]<sup>[1]</sup>
*[[EVENT_SETDEFAULTS]]<sup>[1][3]</sup>
*[[EVENT_SETDEFAULTS]]<sup>[1][3]</sup>
*[[EVENT_SKIPCUTSCENE]]<sup>[2]</sup>
*[[EVENT_VALIDATESTART]]
*[[EVENT_SOUND]]<sup>[1][2]</sup>


Unused
Unused
Line 48: Line 46:
| width="25%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
| width="25%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
Screen drawing events (menus)
Screen drawing events (menus)
*[[EVENT_CHANGEMENU]]<sup>[1][2]</sup>
*[[EVENT_DISPLAYCURSOR]]<sup>[1]</sup>
*[[EVENT_DISPLAYCURSOR]]<sup>[1]</sup>
*[[EVENT_DISPLAYINACTIVEMENU]]<sup>[1]</sup>
*[[EVENT_DISPLAYINACTIVEMENU]]<sup>[1]</sup>
Line 67: Line 66:
*[[EVENT_PRECUTSCENE]]<sup>[1]</sup>
*[[EVENT_PRECUTSCENE]]<sup>[1]</sup>
*[[EVENT_SCREEN]]<sup>[1][2]</sup>
*[[EVENT_SCREEN]]<sup>[1][2]</sup>
*[[EVENT_SKIPCUTSCENE]]<sup>[2]</sup>


Screen drawing events (HUD)
Screen drawing events (HUD)
Line 92: Line 92:
*[[EVENT_DISPLAYROOMS]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMS]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMSCAMERA]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMSCAMERA]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMSCAMERATILE]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMSEND]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMSEND]]<sup>[1]</sup>
*[[EVENT_RESETGOTPICS]]<sup>[1][3]</sup>


Screen drawing events (misc)
Screen drawing events (misc)
Line 98: Line 100:
*[[EVENT_DISPLAYREST]]<sup>[1]</sup>
*[[EVENT_DISPLAYREST]]<sup>[1]</sup>
*[[EVENT_DISPLAYSTART]]<sup>[1]</sup>
*[[EVENT_DISPLAYSTART]]<sup>[1]</sup>
*[[EVENT_UPDATESCREENAREA]]


| width="25%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
| width="25%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
Actor controlling events
Actor controlling events
*[[EVENT_ANIMATESPRITES]]<sup>[1]</sup>
*[[EVENT_ANIMATESPRITES]]<sup>[1]</sup>
*[[EVENT_ANIMATEALLSPRITES]]<sup>[1][4]</sup>
*[[EVENT_EGS]]<sup>[2]</sup>
*[[EVENT_EGS]]<sup>[2]</sup>
*[[EVENT_GAME]]
*[[EVENT_GAME]]
Line 109: Line 113:
*[[EVENT_RECOGSOUND]]
*[[EVENT_RECOGSOUND]]
*[[EVENT_SPAWN]]<sup>[2]</sup>
*[[EVENT_SPAWN]]<sup>[2]</sup>
Sound-based events
*[[EVENT_CONTINUELEVELMUSICSLOT]]
*[[EVENT_PLAYLEVELMUSICSLOT]]
*[[EVENT_OPENMENUSOUND]]
*[[EVENT_SOUND]]<sup>[1][2]</sup>


Global events
Global events
Line 137: Line 147:


| width="25%" valign="top" style="border-left: none; padding: 0.6em;" |
| width="25%" valign="top" style="border-left: none; padding: 0.6em;" |
Input controlling/activated events
Player input-based events
*[[EVENT_AIMDOWN]]
*[[EVENT_AIMDOWN]]
*[[EVENT_AIMUP]]
*[[EVENT_AIMUP]]
*[[EVENT_ALTFIRE]]
*[[EVENT_ALTWEAPON]]
*[[EVENT_ALTWEAPON]]
*[[EVENT_CROUCH]]
*[[EVENT_CROUCH]]

Revision as of 14:41, 23 February 2020

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
[4] lunatic (lua) build only
[5] eduke32 standalone build only

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

Sound-based events

Global events

Player controlling events

Player input-based events