GetGameHotReloaded

From GECK
Jump to: navigation, search


A function added by the Hot Reload Plugin.

Description

Returns 1 after a script is hot reloaded on a per-script basis. For each script that calls GetGameHotReloaded, the command will return true exactly once each time the script is hotloaded and false thereafter. This is useful for example registering event handlers and assigning constant variables after the script has triggered the GetGameLoaded function. Be sure to remove this function from your scripts before releasing the mod to the public.

Syntax

[help]
(int) GetGameHotReloaded  

See Also