Function; LoadModel - HWRM/KarosGraveyard GitHub Wiki

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.
According to the "27th Feb 07" post here, this function needs to appear near the end of the .ship file or else docking paths get screwed up.

Example

LoadModel(NewShipType, 1)

Arguments

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

Scope

Related Pages

Comments

Page Status

Updated Formatting? Yes
Updated for HWRM? Yes

⚠️ **GitHub.com Fallback** ⚠️