Pavlos Posted November 13, 2005 Share Posted November 13, 2005 I know this has been asked a thousand times before but I use the search function and I just can't get any of the scripts there to work . So I ask this question: How do I start a game of pazaak through a dlg option other than a_playpazaak as this is not customisable. I just can't get anything to work so I'm sorry for posting my 1x10^40000000000000th stupid and repetative thread. Link to comment Share on other sites More sharing options...
Darth333 Posted November 13, 2005 Share Posted November 13, 2005 I don't see what you can't customize with a_playpazzak as you can set the parameters in the .dlg file but anyways, here is the relevant nwscript.nss excerpt: // 364: Starts a game of pazaak. // - nOpponentPazaakDeck: Index into PazaakDecks.2da; specifies which deck the opponent will use. // - sEndScript: Script to be run when game finishes. // - nMaxWager: Max player wager. If <= 0, the player's credits won't be modified by the result of the game and the wager screen will not show up. // - bShowTutorial: Plays in tutorial mode (nMaxWager should be 0). void PlayPazaak(int nOpponentPazaakDeck, string sEndScript, int nMaxWager, int bShowTutorial=FALSE, object oOpponent=OBJECT_INVALID); An example would be: void main(){ PlayPazaak(1, "", 50); } - The no. 1 means that you refer to the first deck in pazaakdeck.2da - ""means that you are not firing any script when the game finishes. - if you want to show the pazaak tutorial, you would have to add TRUE after "", - 50 is the amountof credits you wager. And don't worry about asking many questions: this is what these boards are made for Link to comment Share on other sites More sharing options...
Pavlos Posted November 13, 2005 Author Share Posted November 13, 2005 Do you use the dlg file to customise it?! AGH!!!!! Again a simple error vomits on my eiderdown! Link to comment Share on other sites More sharing options...
Darth333 Posted November 13, 2005 Share Posted November 13, 2005 Yes, you can customize it with the .dlg file: http://img.photobucket.com/albums/v144/Darth333/pazaak.jpg Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.