Due to the recent resurgence of spam, we have temporarily disabled user creation and page editing/creation as we resolve the issue.
Difference between revisions of "Message"
From Snapwiki
(Created page with "== Message == The Message object is used to send messages directly to a player's HUD. {| class="wikitable" style="width: 60%;" !'''INPUTS''' |} ;Show: Show the Message. Hid...") |
|||
(4 intermediate revisions by one other user not shown) | |||
Line 1: | Line 1: | ||
+ | [[Category:Logic]] | ||
== Message == | == Message == | ||
− | |||
The Message object is used to send messages directly to a player's HUD. | The Message object is used to send messages directly to a player's HUD. | ||
− | {| class="wikitable" | + | == Details == |
− | + | {| class="wikitable" | |
+ | |- | ||
+ | |[[File:Message.PNG]]|| | ||
+ | '''Object''': Message | ||
+ | |||
+ | '''Category''': Communication | ||
+ | |||
|} | |} | ||
− | ; | + | == Inputs == |
+ | {| class="wikitable" style="width:60%;" | ||
+ | !colspan="3"|'''INPUTS''' | ||
+ | |- | ||
+ | |[[File:Show.png|64px|link=Show]]||'''Show'''||Show the Message. Hides itself automatically using the Message Duration property. | ||
+ | |} | ||
+ | == Outputs == | ||
+ | {| class="wikitable" style="width:60%;" | ||
+ | !colspan="3"|'''OUTPUTS''' | ||
+ | |- | ||
+ | |[[File:Finished.png|64px|link=On Message Finished]]||'''On Message Finished'''||When the message has finished, send a signal. The activator is unchanged from the input signal. | ||
+ | |} | ||
+ | |||
+ | == Properties == | ||
{| class="wikitable" style="width: 60%;" | {| class="wikitable" style="width: 60%;" | ||
− | !''' | + | !colspan="3"|'''PROPERTIES''' |
+ | |- | ||
+ | |'''Property'''||'''Type'''||'''Description''' | ||
+ | |- | ||
+ | |'''Name'''||String||The name of this object. Rename an object to make it easy to identify. | ||
+ | |- | ||
+ | |'''Message'''||String||The message to display. | ||
+ | |- | ||
+ | |'''Message Duration'''||Number||The number of seconds that the message will be displayed. | ||
|} | |} | ||
− | + | == Hidden Text Formatting == | |
+ | |||
+ | Beyond those properties listed above, in the message box, players may also customize the color of their text through inserting the following modifiers before their text. For example, ^cUsertext here, would display Usertext here in a goldish yellow color. When input correctly, the modifier immediately changes the text typed afterward into the color. | ||
+ | |||
+ | {| class="wikitable" style="width: 60%;" | ||
+ | !colspan="2"|'''Color modifiers''' | ||
+ | |- | ||
+ | |'''Color Modifier'''||'''Description''' | ||
+ | |- | ||
+ | |^c, ^<, ^\, ^L)||Goldish yellow. | ||
+ | |- | ||
+ | |^d, ^+, ^M||Pale yellow. | ||
+ | |- | ||
+ | |^b, ^;, ^X, ^K||Gray. | ||
+ | |- | ||
+ | |^f, ^?, ^_, ^O||Light blue. | ||
+ | |- | ||
+ | |^e, ^>, ^N||Red. | ||
+ | |- | ||
+ | |^g||Orange. | ||
+ | |- | ||
+ | |^h||Mild blue. | ||
+ | |- | ||
+ | |^a, ^:, ^Z, ^J||Brown. | ||
+ | |- | ||
+ | |^1, ^A, ^Q||Bright red. | ||
+ | |- | ||
+ | |^2, ^R, ^B||Bright green. | ||
+ | |- | ||
+ | |^3, ^C||Bright yellow. | ||
+ | |- | ||
+ | |^4, ^D, ^T||Bright dark blue. | ||
+ | |- | ||
+ | |^5, ^E, ^U||Bright light blue. | ||
+ | |- | ||
+ | |^6, ^V||Bright purple. | ||
+ | |- | ||
+ | |^7, ^z, ^W, ^G||White. | ||
+ | |- | ||
+ | |^8, ^H||Light gray. | ||
+ | |- | ||
+ | |^9, ^0, ^Y, ^I, ^P||Black. | ||
+ | |} |
Latest revision as of 2016-06-25T04:03:16
Message
The Message object is used to send messages directly to a player's HUD.
Details
Object: Message Category: Communication |
Inputs
INPUTS | ||
---|---|---|
![]() |
Show | Show the Message. Hides itself automatically using the Message Duration property. |
Outputs
OUTPUTS | ||
---|---|---|
![]() |
On Message Finished | When the message has finished, send a signal. The activator is unchanged from the input signal. |
Properties
PROPERTIES | ||
---|---|---|
Property | Type | Description |
Name | String | The name of this object. Rename an object to make it easy to identify. |
Message | String | The message to display. |
Message Duration | Number | The number of seconds that the message will be displayed. |
Hidden Text Formatting
Beyond those properties listed above, in the message box, players may also customize the color of their text through inserting the following modifiers before their text. For example, ^cUsertext here, would display Usertext here in a goldish yellow color. When input correctly, the modifier immediately changes the text typed afterward into the color.
Color modifiers | |
---|---|
Color Modifier | Description |
^c, ^<, ^\, ^L) | Goldish yellow. |
^d, ^+, ^M | Pale yellow. |
^b, ^;, ^X, ^K | Gray. |
^f, ^?, ^_, ^O | Light blue. |
^e, ^>, ^N | Red. |
^g | Orange. |
^h | Mild blue. |
^a, ^:, ^Z, ^J | Brown. |
^1, ^A, ^Q | Bright red. |
^2, ^R, ^B | Bright green. |
^3, ^C | Bright yellow. |
^4, ^D, ^T | Bright dark blue. |
^5, ^E, ^U | Bright light blue. |
^6, ^V | Bright purple. |
^7, ^z, ^W, ^G | White. |
^8, ^H | Light gray. |
^9, ^0, ^Y, ^I, ^P | Black. |