Warhorse ScripBind documentation
ContentsIndexHome
PreviousUpNext
RollDice
Syntax
C++
int RollDice(IFunctionHandler * pH, SmartScriptTable playerIdTable);
Parameters 
Description 
playerId 
entity id of player who rolled the dice boolParam(optional) - true, either if it is first roll with single dice or if player wants cheat 

Syntax: Backgammon.RollDice(EntityGUID playerId) 

Player rolled the dice. 

 

Copyright (c) 2012. All rights reserved.