EVENT INIT: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
m Remove subjective comment
m Remove trash info
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
{{EventTable|EVENT_INIT|-1|-1|0 values}}
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. Most commands that depend on a player being present will fail because no players have been initialized yet.
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.  


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

Latest revision as of 07:37, 4 February 2022

Event ID player# THISACTOR RETURN
EVENT_INIT -1 -1 0 values

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.