Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
CanUse
Syntax
C++
int CanUse(IFunctionHandler * pH, ScriptHandle userId, ScriptHandle pileId);
Parameters 
Description 
ScriptHandle pileId 
id of pile determined for throwing 
user 
id of user 

Syntax: StoneThrowing.CanUse(EntityId user, EntityId pileId) 

returns true if pile can be used 

 

Copyright (c) 2012. All rights reserved.