Preload Manager – Arma 2

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
(added the init, but not really giving explanations on how it works...)
Line 2: Line 2:
[[Category:ArmA_2:_Editor_Modules]]
[[Category:ArmA_2:_Editor_Modules]]


'''Preload Manager''' module defines ''surely something''. But this is placeholder.
'''Preload Manager''' module is a moduledefines ''surely something''. But this is placeholder.


== Initialization==
== Initialization==
Line 9: Line 9:
  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 :
<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[<nowiki>''</nowiki>, 'RscDisplayLoadMission'];
endLoadingScreen;
};</code>

Revision as of 17:11, 28 November 2009

Template:Stub

Preload Manager module is a moduledefines 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; };