triggerText: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) m (Text replacement - "\| *((\[\[[a-zA-Z0-9_ |()]+\]\],? ?)+) * \}\}" to "|seealso= $1 }}") |
(formatting) |
||
Line 1: | Line 1: | ||
{{RV|type=command | {{RV|type=command | ||
| arma2 | |game1= arma2 | ||
|version1= 1.00 | |||
|game2= arma2oa | |||
|version2= 1.51 | |||
|game3= tkoh | |||
|version3= 1.00 | |||
|game4= arma3 | |||
|version4= 0.50 | |||
|arg= global | |arg= global | ||
|gr1= Triggers | |gr1= Triggers | ||
| Returns trigger text. | |descr= Returns trigger text. | ||
|mp= The trigger could be [[local]] or remote but the result returned by this command will be for the trigger text set up locally on the client that executed the command. See [[createTrigger]] for more info. | |||
| '''triggerText''' trigger | |s1= '''triggerText''' trigger | ||
|p1= trigger: [[Object]] | |p1= trigger: [[Object]] | ||
| [[String]] | |r1= [[String]] | ||
|x1= <code>_text = [[triggerText]] triggerName;</code> | |x1= <code>_text = [[triggerText]] triggerName;</code> | ||
Line 22: | Line 35: | ||
|seealso= [[setTriggerText]] | |seealso= [[setTriggerText]] | ||
}} | }} | ||
Revision as of 15:11, 26 March 2021
Description
- Description:
- Returns trigger text.
- Multiplayer:
- The trigger could be local or remote but the result returned by this command will be for the trigger text set up locally on the client that executed the command. See createTrigger for more info.
- Groups:
- Triggers
Syntax
Examples
- Example 1:
_text = triggerText triggerName;
Additional Information
- See also:
- setTriggerText
Notes
-
Report bugs on the Feedback Tracker and/or discuss them on the Arma Discord or on the Forums.
Only post proven facts here! Add Note