scripting:reference:events_reference
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
scripting:reference:events_reference [2020/02/04 07:42] – mit | scripting:reference:events_reference [2023/08/23 16:45] (current) – [MenuOption] mit | ||
---|---|---|---|
Line 70: | Line 70: | ||
^ | **12** = Pub custom button 5| | ^ | **12** = Pub custom button 5| | ||
^ CancelTransaction | N/A | | ^ CancelTransaction | N/A | | ||
- | ^ Notes | Most of these events won't appear until you've first set up the particular custom menu option or other settings. | | + | ^ Notes | Most of these events won't appear until you've first set up the particular custom menu option or other settings. |
//Example// | //Example// | ||
< | < | ||
Line 86: | Line 86: | ||
{ | { | ||
osdcreate(OSDLOWER," | osdcreate(OSDLOWER," | ||
- | | + | |
osdactivate() | osdactivate() | ||
} | } | ||
Line 211: | Line 211: | ||
==== CrowExit ==== | ==== CrowExit ==== | ||
==== Subgame ==== | ==== Subgame ==== | ||
- | ==== SubgameChallengeStart | + | ==== SubgameDuelStart |
- | ==== SubgameChallengeCountdownStart | + | ==== SubgameDuelCountdownStart |
==== RaceStart ==== | ==== RaceStart ==== | ||
==== RaceEnd ==== | ==== RaceEnd ==== | ||
Line 225: | Line 225: | ||
==== DayOfYear ==== | ==== DayOfYear ==== | ||
==== OnTheHour ==== | ==== OnTheHour ==== | ||
+ | ^ Triggered by | Realtime clock reaching the hour | | ||
+ | ^ Event Parameter | None | | ||
+ | ^ CancelTransaction | N/A | | ||
+ | //Example// | ||
+ | < | ||
+ | { | ||
+ | $numBongs = sysRealTime(" | ||
+ | if ( $numBongs > 12 ) | ||
+ | { | ||
+ | $numBongs -= 12 | ||
+ | } | ||
+ | $loop = 0 | ||
+ | while ( $loop < $numBongs ) | ||
+ | { | ||
+ | | ||
+ | | ||
+ | $loop += 1 | ||
+ | } | ||
+ | } | ||
+ | </ | ||
==== TenToTheHour ==== | ==== TenToTheHour ==== | ||
==== FiveToTheHour ==== | ==== FiveToTheHour ==== |
scripting/reference/events_reference.1580823747.txt.gz · Last modified: 2020/02/04 07:42 by mit