triggerText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
(locality and note added)
m (template:command argument fix)
Line 16: Line 16:
| '''triggerText''' trigger |= Syntax
| '''triggerText''' trigger |= Syntax


|p1= trigger: [[Object]] |= PARAMETER1
|p1= trigger: [[Object]] |PARAMETER1=  


|p2= |= PARAMETER2
|p2= |PARAMETER2=  


|p3= |= PARAMETER3
|p3= |PARAMETER3=  


| [[String]] |= RETURNVALUE
| [[String]] |RETURNVALUE=  




|x1= <code>result <nowiki>=</nowiki> triggerText triggerName;</code>|= EXAMPLE1
|x1= <code>result <nowiki>=</nowiki> triggerText triggerName;</code>|EXAMPLE1=  


____________________________________________________________________________________________
____________________________________________________________________________________________


| [[setTriggerText]] |= SEEALSO
| [[setTriggerText]] |SEEALSO=  


|  |= MPBEHAVIOUR
|  |MPBEHAVIOUR=  
____________________________________________________________________________________________
____________________________________________________________________________________________
}}
}}

Revision as of 10:38, 7 April 2019

Hover & click on the images for description

Description

Description:
Returns trigger text. Note: The trigger could be local or remote but the result returned by this command will be for the trigger condition set up locally on the client that executed the command. See createTrigger for more info.
Groups:
Uncategorised

Syntax

Syntax:
triggerText trigger
Parameters:
trigger: Object
Return Value:
String

Examples

Example 1:
result = 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

Notes

Bottom Section