Homeworld 2 : FunctionLoadModel
Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
Most recent edit on 2007-02-27 15:38:52 by MiKail

Additions:
According to this posthttp://forums.relicnews.com/showthread.php?p=2164843#post2164843, this function needs to appear near the end of the .ship file or else docking paths get screwed up.



Edited on 2006-05-04 00:02:04 by MiKail

Additions:
LoadModel(<rNewObjectType>, <bEnable>)

Description
Tells the game to load a HOD file with the same name and in the same directory as the ship file.
Use LoadSharedModel to load a HOD file from another ship.

Example
LoadModel(NewShipType, 1)

Arguments
<rNewObjectType>: the type of object being loaded (ship, resource, etc.).
<bEnable>: 0 = false, 1 = true.

Related Pages:
:: ::