Preloader

Utilities View source
Preloader

Functions and constants

constant autoFinish = true

Whether to finish preloading automatically

Configurable. Override it in your map’s config package.

public function preloadAbility(vararg int abilIds) returns boolean

Preloads the given abilitytype

public function preloadUnit(vararg int unitIds) returns boolean

Preloads the given unittype

public function finishPreload()

If autoFinish is false you need to call this function manually. Calling it again does nothing.