Apolyton Archive  |  Preserved copy of the Apolyton Civilization Site forums as they ran on Ultimate Bulletin Board, 1998–2001. Read-only; nothing here can be posted to or replied to.  |  Forum index |  About this archive |  The 2005 site & forums

  Apolyton Civilization Site Forums
  CtP2-Creation
  Messagbox SLIC problem

Post New Topic  Post A ReplyPost A Reply In A New Window

profile | register | preferences | faq | search next newest topic | next oldest topic bottom of page
Author
Topic:   Messagbox SLIC problem Format for Better Printing
heardie
GGS Co-Webmaster

Aug 1999
posted February 09, 2001 05:41   Click Here to See the Profile for heardieClick Here to Email heardie  send a private message to heardieSend a Message to UIN: 55652350 Visit heardie's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Hmm, I cant get message boxes to appear from another message box. Any clue?

code:

alertbox 'RHOldManPlot' {
Show(); Title(ID_BLANK);
Text(ID_RH_OLDMAN_PLOT);
Button(ID_DISAGREE) {
Kill();
Message(g.player, 'RHDisagree');
}
Button(ID_GIVE_MONEY) {
Kill();
Message(1, 'RHGiveMoney');
}
Button(ID_TAKE_MAP) {
Kill();
}
}

alertbox 'RHDisagree' {
Show(); Title(ID_BLANK);
Text(ID_RH_OLDMAN_DISAGREE);
GameOver();
}

alertbox 'RHGiveMoney' {
Show(); Title(ID_BLANK);
Text(ID_RH_OLDMAN_GIVEMONEY);
AddGold(g.player, -100);
if (random(4) != 0) {
Text(ID_RH_OLDMAN_SUCCESS);
}
else {
Text(ID_RH_OLDMAN_FAIL);
}
}


Locutus
Prince
Apolyton Borg Hengelo/Enschede, The Netherlands
Nov 1999
posted February 09, 2001 06:37   Click Here to See the Profile for LocutusClick Here to Email Locutus  send a private message to LocutusSend a Message to UIN: 52912776 Visit Locutus's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
What if you replace all alertboxes with messageboxes, does it work then? I know for sure it should work with messageboxes but don't think I ever tried this with alertboxes. If it turns out it only works with messageboxes, you could try and use DisableClose to prevent the player from closing the message with the wrong button.
heardie
GGS Co-Webmaster

Aug 1999
posted February 09, 2001 22:42   Click Here to See the Profile for heardieClick Here to Email heardie  send a private message to heardieSend a Message to UIN: 55652350 Visit heardie's Homepage!
Edit/Delete Message    Reply To And Quote This Message
IP: Logged, Admin Access Only
Hmm, I thoght Alexander had alertboxes from alertboxes. Anhow I'll try.
Apolyton Civilization Site Forums
> > > CtP2-Creation Forum

next newest topic | next oldest topictop of page

All times are EDT

Administrative Options: Close Topic | Archive/Move | Delete Topic | Top
Post New Topic  Post A ReplyPost A Reply In A New Window
Hop to:

Contact Us
Apolyton Civilization Site

Powered by: Ultimate Bulletin Board, Version 5.44a
© Infopop Corporation (formerly Madrona Park, Inc.), 1998 - 2000.

AltaVista Type or paste text or Web address (beginning with http://) here:
Powered
by Systran
Translate from: 

Front Page | Civilization III | Dinosaurs | Civilization II | Call to Power | Call to Power II | Alpha Centauri | Alternative Civs | Misc | Links | About ACS | GameStats
GameLeague | Scenario League | HAC | Civilization Scenario Collection | Spanish CivII Site | Clash of Civs | CtP Maps | Art of War | WesW's Ctp1/2 Site