Hint messages: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
(Created page.)
 
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
{{ScriptingDocumentation}}
=Hint messages=
=Hint messages=
When a building is touched, a hint message can be shown describing the function of the building. These messages are defined in '''scripts/hintmessages.txt'''.
When a building is touched, a hint message can be shown describing the function of the building. These messages are defined in '''scripts/hintmessages.txt'''.


=Message creation=
=Message creation=
The max length of a message is 256 characters. Format: %<bind name>% for bind evaluations, e.g.: %+use% evaluates to E in default config. Do NOT use % in the text itself. Touchmessages can be deactivated via emp_cl_show_hints.
The max length of a message is 256 characters. Format: %k{<bind name>} for bind evaluations, e.g.: %k{+use} evaluates to E in default config. Do NOT use % in the text itself. Touchmessages can be deactivated via emp_cl_show_hints.

Latest revision as of 08:56, 10 August 2017

Empires Scripting Documentation
Scripting Overview | Vehicle Script Overview | Vehicle Handling Script Overview | Weapon Script Overview | Armor Script Overview | Building Script Overview | Infantry Script Overview | Hint Messages | Loading Screen Script Overview | Tutorials



Hint messages

When a building is touched, a hint message can be shown describing the function of the building. These messages are defined in scripts/hintmessages.txt.

Message creation

The max length of a message is 256 characters. Format: %k{<bind name>} for bind evaluations, e.g.: %k{+use} evaluates to E in default config. Do NOT use % in the text itself. Touchmessages can be deactivated via emp_cl_show_hints.