PDA

View Full Version : Pazaak, Win or Lose


brwarner
10-16-2005, 05:32 PM
After looking through some dialogs I found out how to play pazaak (the script) but is there a way to make a conditional weather you win or lose the game(like for dialog options).

kdsphantom
10-17-2005, 12:52 AM
hiya Brwarner,
sorry im no help to your problem, but learning how to place Pazaak opponents into mods is on my to learn list. How do you do that buddy ?
kdsphantom

brwarner
10-17-2005, 07:28 AM
kdsphantom

I found out how to play and check the winner of a pazaak game

void main()
{
PlayPazaak(5,myScript,5000,0);
}
were 5 is the pazaak deck in the pazaak 2da file. myScript is what fires at the ned of the game and 5000 is max wager. 0 means false(no tutorial mode)

int StartingConditional()
{
return(GetLastPazaakResult() == 1)
}
this returns true if you win

kdsphantom
10-17-2005, 03:12 PM
Hiya brwarner,
woot and well done buddy ) and most of all thank you
kdsphantom