Difference between revisions of "Game text"

From Empires Wiki
Jump to: navigation, search
(Added this page!)
 
 
Line 1: Line 1:
 +
{{Deletebecause|Not in game?}}
 +
 
== Concept ==
 
== Concept ==
 
Take the current game_text and change it accordingly. I only wrote down stuff I'd like to see changed.
 
Take the current game_text and change it accordingly. I only wrote down stuff I'd like to see changed.

Latest revision as of 17:55, 9 August 2017

Concept

Take the current game_text and change it accordingly. I only wrote down stuff I'd like to see changed. The can be used to print messages with certain values the to player. The modification allows the mapper to add a time limit (in conjuction with game_end and other entites, such as logic_timer / math_counter) and print it out to the players.

KeyValues

  • message
This will be modifed to also accept a format string allowing to format your message.

Inputs

  • SetMessages <value>
Sets the message to value.
  • FormatMessage <value>
Formats the message accordingly. Will replace %s in the message keyvalue with value. (for example, if the message is "Time left: %s seconds" and the input value is 19 it will become "Time left: 19 seconds")

Outputs

No Changes

Discussion

Created this page :) --Omega K2 12:49, 22 June 2009 (PDT)