Event list: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
mNo edit summary
Add EVENT_PREACTORDAMAGE, EVENT_PREWEAPONSHOOT, EVENT_POSTWEAPONSHOOT
 
(11 intermediate revisions by 2 users not shown)
Line 4: Line 4:
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.
All [[events]] are accessed using the [[onevent]] and [[appendevent]] commands.
 
See also: [[:Category:Event manipulation|Event Manipulation]].
 
| width="1%" nowrap="nowrap" valign="top" style="border-right: none; border-left: none; padding: 0.6em;" |
| 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>[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<br/>
<sup>[3]</sup> no current player number set<br/>
<sup>[4]</sup> lunatic (lua) build only<br/>
<sup>[4]</sup> no THISACTOR set<br/>
<sup>[5]</sup> eduke32 standalone build only
<sup>[5]</sup> eduke32 standalone build only<br/>
<sup>[6]</sup> executes at framerate
|}
|}
{| cellpadding="0" cellspacing="0" border="0" width="100%"
{| cellpadding="0" cellspacing="0" border="0" width="100%"
Line 40: Line 44:
*[[EVENT_VALIDATESTART]]
*[[EVENT_VALIDATESTART]]


Unused
Screen drawing events (in-game)
*[[EVENT_DISPLAYROOMS]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYROOMSCAMERA]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYROOMSCAMERATILE]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMSEND]]<sup>[1][6]</sup>
*[[EVENT_RESETGOTPICS]]<sup>[1][3][6]</sup>
 
Screen drawing events (misc)
*[[EVENT_DISPLAYEND]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYREST]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYSTART]]<sup>[1][6]</sup>
*[[EVENT_UPDATESCREENAREA]]<sup>[6]</sup>
 
Unused/Removed
*[[EVENT_FAKEDOMOVETHINGS]]<sup>[1]</sup>
*[[EVENT_FAKEDOMOVETHINGS]]<sup>[1]</sup>
*[[EVENT_ANIMATEALLSPRITES]]<sup>[1]</sup>


| 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_CHANGEMENU]]<sup>[1][2]</sup>
*[[EVENT_DISPLAYCURSOR]]<sup>[1]</sup>
*[[EVENT_DISPLAYCURSOR]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYINACTIVEMENU]]<sup>[1]</sup>
*[[EVENT_DISPLAYINACTIVEMENU]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYINACTIVEMENUREST]]<sup>[1]</sup>
*[[EVENT_DISPLAYINACTIVEMENUREST]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYMENU]]<sup>[1]</sup>
*[[EVENT_DISPLAYMENU]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYMENUREST]]<sup>[1]</sup>
*[[EVENT_DISPLAYMENUREST]]<sup>[1][6]</sup>
*[[EVENT_GETMENUTILE]]<sup>[1]</sup>
*[[EVENT_GETBONUSTILE]]<sup>[1][6]</sup>
*[[EVENT_MENUCURSORLEFT]]<sup>[1][3]</sup>
*[[EVENT_GETMENUTILE]]<sup>[1][6]</sup>
*[[EVENT_MENUCURSORRIGHT]]<sup>[1][3]</sup>
*[[EVENT_MENUCURSORLEFT]]<sup>[1][4][6]</sup>
*[[EVENT_MENUCURSORSHADE]]<sup>[1][3]</sup>
*[[EVENT_MENUCURSORRIGHT]]<sup>[1][4][6]</sup>
*[[EVENT_MENUSHADESELECTED]]<sup>[1][3]</sup>
*[[EVENT_MENUCURSORSHADE]]<sup>[1][4][6]</sup>
*[[EVENT_NEWGAMECUSTOM]]<sup>[1][3]</sup>
*[[EVENT_MENUSHADESELECTED]]<sup>[1][4][6]</sup>
*[[EVENT_NEWGAMECUSTOM]]<sup>[1][4]</sup>


Screen drawing events (special screens and cutscenes)
Screen drawing events (special screens and cutscenes)
*[[EVENT_CUTSCENE]]<sup>[1]</sup>
*[[EVENT_CUTSCENE]]<sup>[1]</sup>
*[[EVENT_DISPLAYBONUSSCREEN]]<sup>[1]</sup>
*[[EVENT_DISPLAYBONUSSCREEN]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYLOADINGSCREEN]]<sup>[1]</sup>
*[[EVENT_DISPLAYLOADINGSCREEN]]<sup>[1]</sup>
*[[EVENT_GETLOADTILE]]<sup>[1]</sup>
*[[EVENT_GETLOADTILE]]<sup>[1]</sup>
*[[EVENT_LOGO]]<sup>[1]</sup>
*[[EVENT_LOGO]]<sup>[1][6]</sup>
*[[EVENT_PRECUTSCENE]]<sup>[1]</sup>
*[[EVENT_PRECUTSCENE]]<sup>[1]</sup>
*[[EVENT_SCREEN]]<sup>[1][2]</sup>
*[[EVENT_SCREEN]]<sup>[1][2][6]</sup>
*[[EVENT_SKIPCUTSCENE]]<sup>[2]</sup>
*[[EVENT_SKIPCUTSCENE]]<sup>[2]</sup>


Screen drawing events (HUD)
Screen drawing events (HUD)
*[[EVENT_DISPLAYBORDER]]<sup>[1]</sup>
*[[EVENT_DISPLAYBORDER]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYCROSSHAIR]]<sup>[1]</sup>
*[[EVENT_DISPLAYCROSSHAIR]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYLEVELSTATS]]<sup>[1]</sup>
*[[EVENT_DISPLAYLEVELSTATS]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYOVERHEADMAPTEXT]]<sup>[1]</sup>
*[[EVENT_DISPLAYOVERHEADMAPPLAYER]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYPOINTER]]<sup>[1]</sup>
*[[EVENT_DISPLAYOVERHEADMAPTEXT]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYSBAR]]<sup>[1]</sup>
*[[EVENT_DISPLAYPOINTER]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYSBAR]]<sup>[1][6]</sup>


Screen drawing events (player body)
Screen drawing events (player body)
*[[EVENT_DISPLAYACCESS]]<sup>[1]</sup>
*[[EVENT_DISPLAYACCESS]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYCAMERAOSD]]<sup>[1]</sup>
*[[EVENT_DISPLAYCAMERAOSD]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYFIST]]<sup>[1]</sup>
*[[EVENT_DISPLAYFIST]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYKNEE]]<sup>[1]</sup>
*[[EVENT_DISPLAYKNEE]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYKNUCKLES]]<sup>[1]</sup>
*[[EVENT_DISPLAYKNUCKLES]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYOVERHEADMAPPLAYER]]<sup>[1]</sup>
*[[EVENT_DISPLAYSCUBA]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYSCUBA]]<sup>[1]</sup>
*[[EVENT_DISPLAYSPIT]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYSPIT]]<sup>[1]</sup>
*[[EVENT_DISPLAYTIP]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYTIP]]<sup>[1]</sup>
*[[EVENT_DISPLAYWEAPON]]<sup>[1][6]</sup>
*[[EVENT_DISPLAYWEAPON]]<sup>[1]</sup>
*[[EVENT_DRAWWEAPON]]<sup>[1][6]</sup>
*[[EVENT_DRAWWEAPON]]<sup>[1]</sup>
 
Screen drawing events (in-game)
*[[EVENT_DISPLAYROOMS]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMSCAMERA]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMSCAMERATILE]]<sup>[1]</sup>
*[[EVENT_DISPLAYROOMSEND]]<sup>[1]</sup>
*[[EVENT_RESETGOTPICS]]<sup>[1][3]</sup>
 
Screen drawing events (misc)
*[[EVENT_DISPLAYEND]]<sup>[1]</sup>
*[[EVENT_DISPLAYREST]]<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][6]</sup>
*[[EVENT_ANIMATEALLSPRITES]]<sup>[1][4]</sup>
*[[EVENT_EGS]]<sup>[2]</sup>
*[[EVENT_EGS]]<sup>[2]</sup>
*[[EVENT_GAME]]
*[[EVENT_GAME]]
*[[EVENT_KILLIT]]<sup>[2]</sup>
*[[EVENT_KILLIT]]<sup>[2]</sup>
*[[EVENT_LOADACTOR]]<sup>[3]</sup>
*[[EVENT_LOADACTOR]]<sup>[3]</sup>
*[[EVENT_PREACTORDAMAGE]]
*[[EVENT_PREGAME]]
*[[EVENT_PREGAME]]
*[[EVENT_RECOGSOUND]]
*[[EVENT_RECOGSOUND]]
Line 142: Line 148:
*[[EVENT_GETSHOTRANGE]]
*[[EVENT_GETSHOTRANGE]]
*[[EVENT_INCURDAMAGE]]
*[[EVENT_INCURDAMAGE]]
*[[EVENT_POSTUPDATEANGLES]]<sup>[6]</sup>
*[[EVENT_PREUPDATEANGLES]]<sup>[6]</sup>
*[[EVENT_RESETINVENTORY]]
*[[EVENT_RESETINVENTORY]]
*[[EVENT_RESETPLAYER]]
*[[EVENT_RESETPLAYER]]
Line 170: Line 178:
*[[EVENT_MOVEFORWARD]]
*[[EVENT_MOVEFORWARD]]
*[[EVENT_NEXTWEAPON]]
*[[EVENT_NEXTWEAPON]]
*[[EVENT_POSTWEAPONSHOOT]]
*[[EVENT_PRESSEDFIRE]]
*[[EVENT_PRESSEDFIRE]]
*[[EVENT_PREVIOUSWEAPON]]
*[[EVENT_PREVIOUSWEAPON]]
*[[EVENT_PREWEAPONSHOOT]]
*[[EVENT_PROCESSINPUT]]
*[[EVENT_PROCESSINPUT]]
*[[EVENT_QUICKKICK]]
*[[EVENT_QUICKKICK]]

Latest revision as of 09:06, 7 January 2024

EDuke32 Scripting

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

All events are accessed using the onevent and appendevent commands.

See also: Event Manipulation.

[1] Unsynchronized events
[2] may recurse
[3] no current player number set
[4] no THISACTOR set
[5] eduke32 standalone build only
[6] executes at framerate

Misc events

Screen drawing events (in-game)

Screen drawing events (misc)

Unused/Removed

Screen drawing events (menus)

Screen drawing events (special screens and cutscenes)

Screen drawing events (HUD)

Screen drawing events (player body)

Actor controlling events

Sound-based events

Global events

Player controlling events

Player input-based events