Difference between revisions of "Info custommessage"

From Sunrust Wiki
Jump to navigation Jump to search
(Created page with "Allows several substrings to be concatenated together to form one message, attaches to messaging entities like game_text, point_worldhint, and point_zsmessage. == Keyvalues =...")
 
 
Line 4: Line 4:
'''Target Messaging Entity''' <target_destination>
'''Target Messaging Entity''' <target_destination>


The entity used to display the message can be a targetname of a class game_text, point_worldhint, or point_zsmessage.
: The entity used to display the message can be a targetname of a class game_text, point_worldhint, or point_zsmessage.


'''Point_zsmessage Method''' <choices>
'''Point_zsmessage Method''' <choices>


If using a point_zsmessage, select the method of displaying with this key.
: If using a point_zsmessage, select the method of displaying with this key.
*0: Centered HUD Message
*0: Centered HUD Message
*1: Corner Human HUD Message
*1: Corner Human HUD Message
Line 15: Line 15:
'''String (01-06)''' <string>
'''String (01-06)''' <string>


Parts of the full string, there can be up to 99 of these.
: Parts of the full string, there can be up to 99 of these.


== Inputs ==
== Inputs ==
'''input displaystrings''' <string>
'''input displaystrings''' <string>


Concatenates and displays the full string using the attached entity.
: Concatenates and displays the full string using the attached entity.


'''input setstring(01-06)''' <string>
'''input setstring(01-06)''' <string>


Parts of the full string, there can be up to 99 of these.
: Parts of the full string, there can be up to 99 of these.


== Outputs ==
== Outputs ==
'''output displaystrings''' <string>
'''output displaystrings''' <string>


Concatenates and displays the full string using the attached entity.
: Concatenates and displays the full string using the attached entity.


'''output setstring(01-06)''' <string>
'''output setstring(01-06)''' <string>


Parts of the full string, there can be up to 99 of these.
: Parts of the full string, there can be up to 99 of these.
__NOEDITSECTION__
__NOEDITSECTION__

Latest revision as of 20:39, 12 May 2019

Allows several substrings to be concatenated together to form one message, attaches to messaging entities like game_text, point_worldhint, and point_zsmessage.

Keyvalues

Target Messaging Entity <target_destination>

The entity used to display the message can be a targetname of a class game_text, point_worldhint, or point_zsmessage.

Point_zsmessage Method <choices>

If using a point_zsmessage, select the method of displaying with this key.
  • 0: Centered HUD Message
  • 1: Corner Human HUD Message
  • 3: Corner Zombie HUD Message

String (01-06) <string>

Parts of the full string, there can be up to 99 of these.

Inputs

input displaystrings <string>

Concatenates and displays the full string using the attached entity.

input setstring(01-06) <string>

Parts of the full string, there can be up to 99 of these.

Outputs

output displaystrings <string>

Concatenates and displays the full string using the attached entity.

output setstring(01-06) <string>

Parts of the full string, there can be up to 99 of these.