Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
GetUserAnimName
Syntax
C++
int GetUserAnimName(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.GetUserAnimName(userId, true, false, true) 

Gets the animation name that should be played by the user of the door when using the door.

Copyright (c) 2012. All rights reserved.