User Tools

Site Tools


modding:function:typmarkimages

Discuss this page on this pages TalkPage

typMarkImages

Syntax (typMarkImages unid)
Arguments unid: the unid to load an image from
Returns True if successful,Nil otherwise
Category type, unid
Description Forces the engine to load images needed by the unid to prevent lag when using them later. Useful when you generate lots of space objects through script - very large ship images or fleets with lots of different ships would benefit from this.

Example

(typMarkImages "&scCentauriRaider;")

Loads the ship image for the Centauri raider.

Return to type functions list

Return to Functions list

modding/function/typmarkimages.txt · Last modified: 2017/01/20 04:44 by xephyr