Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
OnSteal
Syntax
C++
int OnSteal(IFunctionHandler * pH, ScriptHandle userId);
Parameters 
Description 
ScriptHandle userId 
User identifier. 

Syntax: self.item:OnSteal( ScriptHandle userId ) 

If user is player, asks if he wants to steal the item and steals it. 

 

Copyright (c) 2012. All rights reserved.