User Tools

Site Tools


4rpl:commands:func_gameloaded

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
4rpl:commands:func_gameloaded [2021/01/14 15:48] virgilw4rpl:commands:func_gameloaded [2025/02/14 14:57] (current) – external edit 127.0.0.1
Line 1: Line 1:
-~~NOTOC~~ + <=[[4rpl:start| Index]] 
-<=[[4rpl:start| Index]]+ 
 +====== :GameLoaded ====== 
 + 
 +===== Description =====
  
 ":GameLoaded" is called whenever a unit with an attached script is loaded from a saved mission. This callback does not get called when a unit is created dynamically at runtime. ":GameLoaded" is called whenever a unit with an attached script is loaded from a saved mission. This callback does not get called when a unit is created dynamically at runtime.
 +
 +In Mverse, this function is called for clients on unit scripts, but is not called for clients in Global Control scripts.
 +
 +===== Example =====
  
 <code 4rpl> <code 4rpl>
Line 8: Line 15:
    trace("Game Loaded")    trace("Game Loaded")
 </code> </code>
 +
 +===== See Also =====
 +
 +[[cw4:Programming notes]]
 +
 +
4rpl/commands/func_gameloaded.1610639291.txt.gz · Last modified: 2025/02/14 14:56 (external edit)