|
Endstar LUA API Documentation
|
Used to modify the behavior of a text bubble. Can display text, modify text and more. More...
Public Member Functions | |
| void | Display (Context instigator, long index) |
| Displays a specific text in the text bubble. | |
| void | DisplayWithDuration (Context instigator, int index, float duration) |
| Displays a specific text in the text bubble for a certain duration. | |
| void | DisplayForTarget (Context instigator, Context displayTarget, long index) |
| Displays a specific text to a single player in the text bubble. | |
| void | DisplayForTargetWithDuration (Context instigator, Context displayTarget, long index, float duration) |
| Displays a specific text to a single player in the text bubble for a duration. | |
| void | Close (Context instigator) |
| Closes the text bubble. | |
| void | CloseForTarget (Context instigator, Context target) |
| Closes the text bubble for a specific player context. | |
| string[] | GetTexts () |
| Gets an array of all the texts in this text bubble currently. | |
| void | SetLocalizedTextViaTable (Context instigator, LuaTable newText) |
| Sets the text of this text bubble with a lua table. | |
| int | GetTextLength () |
| Gets the number of texts in this text bubble. | |
| void | SetLocalizedText (Context instigator, LocalizedString[] text) |
| Sets the text of this text bubble with a localized string array. | |
| void | SetLocalizedText (Context instigator, LocalizedString text) |
| Sets the text of this text bubble to the LocalizedString. | |
| void | SetDisplayName (Context instigator, LocalizedString text) |
| Sets the display name for this text bubble. | |
Used to modify the behavior of a text bubble. Can display text, modify text and more.
| void Close | ( | Context | instigator | ) |
Closes the text bubble.
Closes the text bubble for a specific player context.
| instigator | The source context triggering this change |
| target | The target to close the text bubble for. |
| void Display | ( | Context | instigator, |
| long | index ) |
Displays a specific text in the text bubble.
| instigator | The source context triggering this change |
| index | The index of the text to display |
Displays a specific text to a single player in the text bubble.
| instigator | The source context triggering this change |
| displayTarget | The context of the player to display the text to. |
| index | The index of the text to display. |
| void DisplayForTargetWithDuration | ( | Context | instigator, |
| Context | displayTarget, | ||
| long | index, | ||
| float | duration ) |
Displays a specific text to a single player in the text bubble for a duration.
| instigator | The source context triggering this change |
| displayTarget | The context of the player to display the text to. |
| index | The index of the text to display. |
| duration | The duration in seconds for the text to be displayed. |
| void DisplayWithDuration | ( | Context | instigator, |
| int | index, | ||
| float | duration ) |
Displays a specific text in the text bubble for a certain duration.
| instigator | The source context triggering this change |
| index | The index of the text to display. |
| duration | The duration in seconds for the text to be displayed. |
| int GetTextLength | ( | ) |
Gets the number of texts in this text bubble.
| string[] GetTexts | ( | ) |
Gets an array of all the texts in this text bubble currently.
| void SetDisplayName | ( | Context | instigator, |
| LocalizedString | text ) |
Sets the display name for this text bubble.
| instigator | The source context triggering this change |
| text | The display name. |
| void SetLocalizedText | ( | Context | instigator, |
| LocalizedString | text ) |
Sets the text of this text bubble to the LocalizedString.
| instigator | The source context triggering this change |
| text | The LocalizedString containing the text for the text bubble |
| void SetLocalizedText | ( | Context | instigator, |
| LocalizedString[] | text ) |
Sets the text of this text bubble with a localized string array.
| instigator | The source context triggering this change |
| text | The new text for the text bubble |
| void SetLocalizedTextViaTable | ( | Context | instigator, |
| LuaTable | newText ) |
Sets the text of this text bubble with a lua table.
| instigator | The source context triggering this change |
| newText | The new text for the text bubble |