Difference between revisions of "Event list"

From EDukeWiki
Jump to navigation Jump to search
m
Line 11: Line 11:
|}
|}
{| cellpadding="0" cellspacing="0" border="0" width="100%"
{| cellpadding="0" cellspacing="0" border="0" width="100%"
| width="33%" valign="top" style="border-right: none; padding: 0.6em;" |
| width="25%" valign="top" style="border-right: none; padding: 0.6em;" |
Misc events
Misc events
*[[EVENT_INIT]]<sup>[1][3]</sup>
*[[EVENT_INIT]]<sup>[1][3]</sup>
Line 18: Line 18:
*[[EVENT_LOADGAME]]<sup>[1]</sup>
*[[EVENT_LOADGAME]]<sup>[1]</sup>
*[[EVENT_SAVEGAME]]<sup>[1]</sup>
*[[EVENT_SAVEGAME]]<sup>[1]</sup>
*[[EVENT_FAKEDOMOVETHINGS]]<sup>[1]</sup>
*[[EVENT_ACTIVATECHEAT]]<sup>[1][2]</sup>
*[[EVENT_ACTIVATECHEAT]]<sup>[1][2]</sup>
*[[EVENT_CHEATGETBOOT]]<sup>[1]</sup>
*[[EVENT_CHEATGETBOOT]]<sup>[1]</sup>
Line 30: Line 29:
*[[EVENT_SOUND]]<sup>[1][2]</sup>
*[[EVENT_SOUND]]<sup>[1][2]</sup>
*[[EVENT_CHANGEMENU]]<sup>[1][2]</sup>
*[[EVENT_CHANGEMENU]]<sup>[1][2]</sup>
*[[EVENT_SKIPCUTSCENE]]
| width="25%" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
Screen drawing events (menus)
*[[EVENT_GETMENUTILE]]<sup>[1]</sup>
*[[EVENT_DISPLAYMENU]]<sup>[1]</sup>
*[[EVENT_DISPLAYMENUREST]]<sup>[1]</sup>
*[[EVENT_DISPLAYINACTIVEMENU]]<sup>[1]</sup>
*[[EVENT_DISPLAYINACTIVEMENUREST]]<sup>[1]</sup>
*[[EVENT_DISPLAYCURSOR]]<sup>[1]</sup>
Screen drawing events (special screens and cutscenes)
*[[EVENT_GETLOADTILE]]<sup>[1]</sup>
*[[EVENT_DISPLAYLOADINGSCREEN]]<sup>[1]</sup>
*[[EVENT_DISPLAYBONUSSCREEN]]<sup>[1]</sup>
*[[EVENT_LOGO]]<sup>[1]</sup>
*[[EVENT_CUTSCENE]]<sup>[1][2]</sup>
*[[EVENT_CUTSCENE]]<sup>[1][2]</sup>
*[[EVENT_PRECUTSCENE]]
*[[EVENT_PRECUTSCENE]]
*[[EVENT_SKIPCUTSCENE]]
*[[EVENT_MOVESECTOR]]
*[[EVENT_MOVEEFFECTORS]]


Screen drawing events (in-game)
Screen drawing events (HUD)
*[[EVENT_DISPLAYSTART]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMS]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMSCAMERA]]<sup>[1]</sup>
*[[EVENT_DISPLAYCAMERAOSD]]<sup>[1]</sup>
*[[EVENT_DISPLAYSBAR]]<sup>[1]</sup>
*[[EVENT_DISPLAYSBAR]]<sup>[1]</sup>
*[[EVENT_DISPLAYLEVELSTATS]]<sup>[1]</sup>
*[[EVENT_DISPLAYLEVELSTATS]]<sup>[1]</sup>
*[[EVENT_DISPLAYCROSSHAIR]]<sup>[1]</sup>
Screen drawing events (player body)
*[[EVENT_DISPLAYCAMERAOSD]]<sup>[1]</sup>
*[[EVENT_DISPLAYFIST]]<sup>[1]</sup>
*[[EVENT_DISPLAYFIST]]<sup>[1]</sup>
*[[EVENT_DISPLAYKNEE]]<sup>[1]</sup>
*[[EVENT_DISPLAYKNEE]]<sup>[1]</sup>
Line 52: Line 64:
*[[EVENT_DRAWWEAPON]]<sup>[1]</sup>
*[[EVENT_DRAWWEAPON]]<sup>[1]</sup>
*[[EVENT_DISPLAYSPIT]]<sup>[1]</sup>
*[[EVENT_DISPLAYSPIT]]<sup>[1]</sup>
*[[EVENT_DISPLAYREST]]<sup>[1]</sup>
*[[EVENT_DISPLAYCROSSHAIR]]<sup>[1]</sup>


Screen drawing events (menus)
Screen drawing events (in-game)
*[[EVENT_GETMENUTILE]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMS]]<sup>[1]</sup>
*[[EVENT_DISPLAYMENU]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMSCAMERA]]<sup>[1]</sup>
*[[EVENT_DISPLAYMENUREST]]<sup>[1]</sup>
*[[EVENT_DISPLAYINACTIVEMENU]]<sup>[1]</sup>
*[[EVENT_DISPLAYINACTIVEMENUREST]]<sup>[1]</sup>
*[[EVENT_DISPLAYCURSOR]]<sup>[1]</sup>


Screen drawing events (special screens)
Screen drawing events (misc)
*[[EVENT_GETLOADTILE]]<sup>[1]</sup>
*[[EVENT_DISPLAYSTART]]<sup>[1]</sup>
*[[EVENT_DISPLAYLOADINGSCREEN]]<sup>[1]</sup>
*[[EVENT_DISPLAYREST]]<sup>[1]</sup>
*[[EVENT_DISPLAYBONUSSCREEN]]<sup>[1]</sup>
*[[EVENT_LOGO]]<sup>[1]</sup>


| width="33%" 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_LOADACTOR]]<sup>[3]</sup>
*[[EVENT_LOADACTOR]]<sup>[3]</sup>
Line 83: Line 87:
*[[EVENT_PREWORLD]]
*[[EVENT_PREWORLD]]
*[[EVENT_WORLD]]
*[[EVENT_WORLD]]
*[[EVENT_MOVESECTOR]]
*[[EVENT_MOVEEFFECTORS]]
*[[EVENT_DAMAGEHPLANE]]


Player controlling events
Player controlling events
Line 88: Line 95:
*[[EVENT_RESETWEAPONS]]
*[[EVENT_RESETWEAPONS]]
*[[EVENT_RESETINVENTORY]]
*[[EVENT_RESETINVENTORY]]
*[[EVENT_DAMAGEHPLANE]]
*[[EVENT_INCURDAMAGE]]
*[[EVENT_INCURDAMAGE]]
*[[EVENT_DOFIRE]]
*[[EVENT_DOFIRE]]
Line 97: Line 103:
*[[EVENT_CHECKFLOORDAMAGE]]
*[[EVENT_CHECKFLOORDAMAGE]]


| width="33%" valign="top" style="border-left: none; padding: 0.6em;" |
| width="25%" valign="top" style="border-left: none; padding: 0.6em;" |
Input controlling/activated events
Input controlling/activated events
*[[EVENT_AIMDOWN]]
*[[EVENT_AIMDOWN]]
Line 148: Line 154:
*[[EVENT_WEAPKEY9]]
*[[EVENT_WEAPKEY9]]
*[[EVENT_WEAPKEY10]]
*[[EVENT_WEAPKEY10]]
Unused
*[[EVENT_FAKEDOMOVETHINGS]]<sup>[1]</sup>
|}
|}


[[Category:Event manipulation]]
[[Category:Event manipulation]]
[[Category:Scripting documentation]]
[[Category:Scripting documentation]]

Revision as of 20:29, 8 December 2017

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

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

Unused