Event list: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Mblackwell (talk | contribs)
mNo edit summary
No edit summary
Line 1: Line 1:
define [[EVENT_INIT]] 0
*define [[EVENT_INIT]] 0
 
*define [[EVENT_ENTERLEVEL]] 1
define [[EVENT_ENTERLEVEL]] 1
*define [[EVENT_RESETWEAPONS]] 2
 
*define [[EVENT_RESETINVENTORY]] 3
define [[EVENT_RESETWEAPONS]] 2
*define [[EVENT_HOLSTER]]    4
 
*define [[EVENT_LOOKLEFT]]  5
define [[EVENT_RESETINVENTORY]] 3
*define [[EVENT_LOOKRIGHT]]  6
 
*define [[EVENT_SOARUP]] 7
define [[EVENT_HOLSTER]]    4
*define [[EVENT_SOARDOWN]]  8
 
*define [[EVENT_CROUCH]] 9
define [[EVENT_LOOKLEFT]]  5
*define [[EVENT_JUMP]]      10
 
*define [[EVENT_RETURNTOCENTER]] 11
define [[EVENT_LOOKRIGHT]]  6
*define [[EVENT_LOOKUP]] 12
 
*define [[EVENT_LOOKDOWN]]  13
define [[EVENT_SOARUP]] 7
*define [[EVENT_AIMUP]]  14
 
*define [[EVENT_FIRE]]  15
define [[EVENT_SOARDOWN]]  8
*define [[EVENT_CHANGEWEAPON]]  16
 
*define [[EVENT_GETSHOTRANGE]]  17
define [[EVENT_CROUCH]] 9
*define [[EVENT_GETAUTOAIMANGLE]]    18
 
*define [[EVENT_GETLOADTILE]]    19
define [[EVENT_JUMP]]      10
*define [[EVENT_CHEATGETSTEROIDS]] 20
 
*define [[EVENT_CHEATGETHEAT]] 21
define [[EVENT_RETURNTOCENTER]] 11
*define [[EVENT_CHEATGETBOOT]] 22
 
*define [[EVENT_CHEATGETSHIELD]] 23
define [[EVENT_LOOKUP]] 12
*define [[EVENT_CHEATGETSCUBA]] 24
 
*define [[EVENT_CHEATGETHOLODUKE]] 25
define [[EVENT_LOOKDOWN]]  13
*define [[EVENT_CHEATGETJETPACK]] 26
 
*define [[EVENT_CHEATGETFIRSTAID]] 27
define [[EVENT_AIMUP]]  14
*define [[EVENT_QUICKKICK]] 28
 
*define [[EVENT_INVENTORY]] 29
define [[EVENT_AIMDOWN]]    14 /* yes, it would appear Matt Saettler accidentally used the same event number twice.  No, I'm not fixing it. */
*define [[EVENT_USENIGHTVISION]] 30
 
*define [[EVENT_USESTEROIDS]] 31
define [[EVENT_FIRE]]  15
*define [[EVENT_INVENTORYLEFT]] 32
 
*define [[EVENT_INVENTORYRIGHT]] 33
define [[EVENT_CHANGEWEAPON]]  16
*define [[EVENT_HOLODUKEON]] 34
 
*define [[EVENT_HOLODUKEOFF]] 35
define [[EVENT_GETSHOTRANGE]]  17
*define [[EVENT_USEMEDKIT]] 36
 
*define [[EVENT_USEJETPACK]] 37
define [[EVENT_GETAUTOAIMANGLE]]    18
*define [[EVENT_TURNAROUND]] 38
 
*define [[EVENT_DISPLAYWEAPON]] 39
define [[EVENT_GETLOADTILE]]    19
*define [[EVENT_FIREWEAPON]] 40
 
*define [[EVENT_SELECTWEAPON]] 41
define [[EVENT_CHEATGETSTEROIDS]] 20
*define [[EVENT_MOVEFORWARD]] 42
 
*define [[EVENT_MOVEBACKWARD]] 43
define [[EVENT_CHEATGETHEAT]] 21
*define [[EVENT_TURNLEFT]] 44
 
*define [[EVENT_TURNRIGHT]] 45
define [[EVENT_CHEATGETBOOT]] 22
*define [[EVENT_STRAFELEFT]] 46
 
*define [[EVENT_STRAFERIGHT]] 47
define [[EVENT_CHEATGETSHIELD]] 23
*define [[EVENT_WEAPKEY1]] 48
 
*define [[EVENT_WEAPKEY2]] 49
define [[EVENT_CHEATGETSCUBA]] 24
*define [[EVENT_WEAPKEY3]] 50
 
*define [[EVENT_WEAPKEY4]] 51
define [[EVENT_CHEATGETHOLODUKE]] 25
*define [[EVENT_WEAPKEY5]] 52
 
*define [[EVENT_WEAPKEY6]] 53
define [[EVENT_CHEATGETJETPACK]] 26
*define [[EVENT_WEAPKEY7]] 54
 
*define [[EVENT_WEAPKEY8]] 55
define [[EVENT_CHEATGETFIRSTAID]] 27
*define [[EVENT_WEAPKEY9]] 56
 
*define [[EVENT_WEAPKEY10]] 57
define [[EVENT_QUICKKICK]] 28
*define [[EVENT_DRAWWEAPON]] 58 /* called when actual myospal calls in player.c are called */
 
*define [[EVENT_DISPLAYCROSSHAIR]] 59
define [[EVENT_INVENTORY]] 29
*define [[EVENT_DISPLAYREST]] 60 /* always-running event */
 
*define [[EVENT_RESETPLAYER]] 61
define [[EVENT_USENIGHTVISION]] 30
*define [[EVENT_INCURDAMAGE]] 62 /* called when effect of armor on damage is calculated */
 
*define [[EVENT_AIMDOWN]]    63 /* This is still 14 like EVENT_AIMUP in 1.0.0 */
define [[EVENT_USESTEROIDS]] 31
 
define [[EVENT_INVENTORYLEFT]] 32
 
define [[EVENT_INVENTORYRIGHT]] 33
 
define [[EVENT_HOLODUKEON]] 34
 
define [[EVENT_HOLODUKEOFF]] 35
 
define [[EVENT_USEMEDKIT]] 36
 
define [[EVENT_USEJETPACK]] 37
 
define [[EVENT_TURNAROUND]] 38
 
define [[EVENT_DISPLAYWEAPON]] 39
 
define [[EVENT_FIREWEAPON]] 40
 
define [[EVENT_SELECTWEAPON]] 41
 
define [[EVENT_MOVEFORWARD]] 42
 
define [[EVENT_MOVEBACKWARD]] 43
 
define [[EVENT_TURNLEFT]] 44
 
define [[EVENT_TURNRIGHT]] 45
 
define [[EVENT_STRAFELEFT]] 46
 
define [[EVENT_STRAFERIGHT]] 47
 
define [[EVENT_WEAPKEY1]] 48
 
define [[EVENT_WEAPKEY2]] 49
 
define [[EVENT_WEAPKEY3]] 50
 
define [[EVENT_WEAPKEY4]] 51
 
define [[EVENT_WEAPKEY5]] 52
 
define [[EVENT_WEAPKEY6]] 53
 
define [[EVENT_WEAPKEY7]] 54
 
define [[EVENT_WEAPKEY8]] 55
 
define [[EVENT_WEAPKEY9]] 56
 
define [[EVENT_WEAPKEY10]] 57
 
define [[EVENT_DRAWWEAPON]] 58 /* called when actual myospal calls in player.c are called */
 
define [[EVENT_DISPLAYCROSSHAIR]] 59
 
define [[EVENT_DISPLAYREST]] 60 /* always-running event */
 
define [[EVENT_RESETPLAYER]] 61
 
define [[EVENT_INCURDAMAGE]] 62 /* called when effect of armor on damage is calculated */
 
 


All [[events]] are accessed using the [[onevent]] command.
All [[events]] are accessed using the [[onevent]] command.

Revision as of 00:52, 28 December 2004

All events are accessed using the onevent command.