EVENT INIT: Difference between revisions
Jump to navigation
Jump to search
Hendricks266 (talk | contribs) No edit summary |
Doom64hunter (talk | contribs) m Remove subjective comment |
||
Line 1: | Line 1: | ||
EVENT_INIT is a [[EDuke32 event list|Game Event]]. | EVENT_INIT is a [[EDuke32 event list|Game Event]]. | ||
This [[event]] is called immediately following the compilation of CON code | This [[event]] is called immediately following the compilation of CON code. Most commands that depend on a player being present will fail because no players have been initialized yet. | ||
One potential use of EVENT_INIT is to display name and version information about your mod to the log file using the [[echo]] command. While [[quote]] will not work for the aforementioned reason, any text displayed using [[userquote]] will persist through any menu systems until the normal countdown timer expires once gameplay has begun. | One potential use of EVENT_INIT is to display name and version information about your mod to the log file using the [[echo]] command. While [[quote]] will not work for the aforementioned reason, any text displayed using [[userquote]] will persist through any menu systems until the normal countdown timer expires once gameplay has begun. | ||
[[Category:Events]] | [[Category:Events]] |
Revision as of 05:50, 3 August 2021
EVENT_INIT is a Game Event.
This event is called immediately following the compilation of CON code. Most commands that depend on a player being present will fail because no players have been initialized yet.
One potential use of EVENT_INIT is to display name and version information about your mod to the log file using the echo command. While quote will not work for the aforementioned reason, any text displayed using userquote will persist through any menu systems until the normal countdown timer expires once gameplay has begun.