EVENT INIT: Difference between revisions

From EDukeWiki
Jump to navigation Jump to search
No edit summary
m Remove trash info
 
(4 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This [[event]] is called after the CON code is loaded and is rather worthless.
{{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]]
[[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.