display a message
Moderators: Omega, tillias, Mod Contributor
-
- Bounty Hunter
- Posts: 138
- Joined: Thu May 22, 2008 8:53 am
display a message
is there a way in the game currently to display a message using the gui?
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
Re: display a message
yes, but I need more specifics. Where in the game? How big/noticable must it be? Do you need user interaction?
-
- Bounty Hunter
- Posts: 138
- Joined: Thu May 22, 2008 8:53 am
Re: display a message
I was asked by esgatorh to limit a player's ability to buy a ship in a specific base depending on it's relation to the faction that that base belongs to, I've used the GetRelation function to check but I need to display a message if his relation isn't high enough.ace123 wrote:yes, but I need more specifics. Where in the game? How big/noticable must it be? Do you need user interaction?
-
- Lead Network Developer
- Posts: 2560
- Joined: Sun Jan 12, 2003 9:13 am
- Location: Palo Alto CA
- Contact:
Re: display a message
It is possible for units/units.csv to have a different row for each race, and each row can have a different set of imported cargo.dagg wrote:I was asked by esgatorh to limit a player's ability to buy a ship in a specific base depending on it's relation to the faction that that base belongs to, I've used the GetRelation function to check but I need to display a message if his relation isn't high enough.ace123 wrote:yes, but I need more specifics. Where in the game? How big/noticable must it be? Do you need user interaction?
Anyway about the error message, the reason I asked is every screen in the game has a different method.
Since you are trying to display an error message in the base computer, use the "showAlert" function. It just takes a string as its only argument.
-
- Bounty Hunter
- Posts: 138
- Joined: Thu May 22, 2008 8:53 am
Re: display a message
thanks, will try