setTriggerText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
[[Category:Scripting Commands|SETTRIGGERTEXT]]
{{Command|= Comments
[[Category:Scripting Commands OFP Elite |SETTRIGGERTEXT]]
____________________________________________________________________________________________
[[Category:Scripting Commands ArmA|SETTRIGGERTEXT]]


| ofpr |= Game name


<h2 style="color:#000066">'''''trigger'' setTriggerText ''text'''''</h2>
|1.86|= Game version
____________________________________________________________________________________________


| Sets the text label attached to the trigger object. This is used for example as a radio slot label for radio activated triggers. |= Description
____________________________________________________________________________________________


'''Operand types:'''
| trigger '''setTriggerText''' text |= Syntax


'''trigger:''' [[Object]]
|p1= trigger: [[Object]] |= Parameter 1


'''text:''' [[String]]
|p2= text: [[String]] |= Parameter 2


'''Type of returned value:'''
| [[Nothing]] |= Return value
____________________________________________________________________________________________
 
|x1= <pre>trigger setTriggerText "Call for support"</pre> |= Example 1
____________________________________________________________________________________________


[[Nothing]]
|  |= See also


'''Compatibility:'''
}}


Version 1.86 required.
<h3 style="display:none">Notes</h3>
<dl class="command_description">
<!-- Note Section BEGIN -->


'''Description:'''
<!-- Note Section END -->
</dl>


Sets the text label attached to the trigger object.
<h3 style="display:none">Bottom Section</h3>
 
[[Category:Scripting Commands|SETTRIGGERTEXT]]
This is used for example as a radio slot label for radio activated triggers.
[[Category:Scripting Commands OFP Elite |SETTRIGGERTEXT]]
 
[[Category:Scripting Commands ArmA|SETTRIGGERTEXT]]
 
'''Example:'''
 
trigger '''setTriggerText''' "Call for support"

Revision as of 00:33, 2 August 2006

Hover & click on the images for description

Description

Description:
Sets the text label attached to the trigger object. This is used for example as a radio slot label for radio activated triggers.
Groups:
Uncategorised

Syntax

Syntax:
trigger setTriggerText text
Parameters:
trigger: Object
text: String
Return Value:
Nothing

Examples

Example 1:
trigger setTriggerText "Call for support"

Additional Information

See also:
See also needed

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