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

!

Entity.LoadCharacter( nSlot, sFilename )

! Load CGF geometry into the entity slot.!  

!  

! Load an animated character @param sFileName File name of the .cid file @param nPos Number of the slot for the character @see CScriptBind_Entity::StartAnimation

Copyright (c) 2012. All rights reserved.