Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
LoadObject
Syntax
C++
int LoadObject(IFunctionHandler * pH, int nSlot, const char * sFilename);
Parameters 
Description 
int nSlot 
Slot identifier. 
const char * sFilename 
CGF geometry file name.
! Load a static object @param sFileName File name of the .cgf file @param nPos Number of the slot for the character (Zero for first 1st person weapons, one for 3rd person weapons) @see CScriptBindEntity::StartAnimation 

Syntax: Entity.LoadObject( nSlot, sFilename ) 

Load CGF geometry into the entity slot.

Copyright (c) 2012. All rights reserved.