EVENT INIT: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
One (talk | contribs)
No edit summary
No edit summary
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 after the CON code is loaded and is rather worthless.
This [[event]] is called immediately following the compilation of CON code and is rather worthless. 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.


[[Category:Events]]
[[Category:Events]]

Revision as of 00:26, 5 March 2012

EVENT_INIT is a Game Event.

This event is called immediately following the compilation of CON code and is rather worthless. 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.