Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetObjectAnimName
Syntax
C++
int GetObjectAnimName(IFunctionHandler* pH, ScriptHandle userId, bool isOpened, bool shouldBeOpened, bool isFrontSide);
Parameters 
Description 
ScriptHandle userId 
entity id of user of the door (typically player or npc) 
bool isOpened 
is the door currently opened 
bool shouldBeOpened 
should the door be opened after the usage 
bool isFrontSide 
is the door used from the front side
 

Syntax: animDoor.GetObjectAnim(userId, true, false, true) 

Gets the animation name that should be played by the door object based on the situation and usage specified by the params

Copyright (c) 2012. All rights reserved.