EVENT INIT: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
Matteus (talk | contribs)
mNo edit summary
m Remove trash info
 
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
This [[event]] is called after the CON code is loaded.
{{EventTable|EVENT_INIT|-1|-1|0 values}}
 
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.
 
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]]

Latest revision as of 06: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.