Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CScriptBind_Entity::LoadObject Method
Syntax
C++
int LoadObject(IFunctionHandler* pH, int nSlot, const char* sFilename);
Parameters 
Description 
int nSlot 
Slot identifier. 
const char* sFilename 
CGF geometry file name. 

!

Entity.LoadObject( nSlot, sFilename )

! Load CGF geometry into the entity slot.!  

!  

! 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 CScriptBind_Entity::StartAnimation

Copyright (c) 2012. All rights reserved.