Preload Manager – Arma 2
Jump to navigation
Jump to search
mNo edit summary |
Lou Montana (talk | contribs) m (Some wiki formatting) |
||
(6 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
{{ | {{TOC|side}} | ||
'''Preload Manager''' module defines ''surely something''. But this is placeholder. | |||
== Initialization == | |||
=== Paths === | === Paths === | ||
Editor: | Editor: | ||
Modules (F7) > Preload Manager | Modules (F7) > Preload Manager | ||
Data: | Data: | ||
ca\modules\ | ca\modules\Functions | ||
(only in the config.bin) | |||
=== Editor setup === | === Editor setup === | ||
=== What it is doing === | |||
the logic init code : | |||
<sqf> | |||
onPreloadStarted { | |||
BIS_PRELOAD_ARRAY = []; | |||
textLogFormat["PRELOAD_ Preload Manager - onPreloadStarted, _maxTime %1 timenow %2", _maxTime, time]; | |||
startLoadingScreen [localize "str_load_game", "RscDisplayLoadMission"]; | |||
}; | |||
onPreloadFinished { | |||
textLogFormat ["PRELOAD_ Preload Manager - onPreloadFinished T %1", time]; | |||
startLoadingScreen["", "RscDisplayLoadMission"]; | |||
endLoadingScreen; | |||
}; | |||
</sqf> | |||
{{GameCategory|arma2|Editor Modules}} |
Latest revision as of 11:59, 15 July 2022
Preload Manager module defines surely something. But this is placeholder.
Initialization
Paths
Editor:
Modules (F7) > Preload Manager
Data:
ca\modules\Functions
(only in the config.bin)
Editor setup
What it is doing
the logic init code :
onPreloadStarted {
BIS_PRELOAD_ARRAY = [];
textLogFormat["PRELOAD_ Preload Manager - onPreloadStarted, _maxTime %1 timenow %2", _maxTime, time];
startLoadingScreen [localize "str_load_game", "RscDisplayLoadMission"];
};
onPreloadFinished {
textLogFormat ["PRELOAD_ Preload Manager - onPreloadFinished T %1", time];
startLoadingScreen["", "RscDisplayLoadMission"];
endLoadingScreen;
};