setTriggerText: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\[\[Category:[ _]?Scripting[ _]Commands[ _]OFP[ _]Elite *(\|.*)?\]\]" to "{{GameCategory|ofpe|Scripting Commands}}")
m (Text replacement - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


| arma1 |Game name=
| arma1 |Game name=
Line 9: Line 8:


|gr1= Triggers |GROUP1=
|gr1= Triggers |GROUP1=
____________________________________________________________________________________________


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


| trigger '''setTriggerText''' text |SYNTAX=
| trigger '''setTriggerText''' text |SYNTAX=
Line 21: Line 18:


| [[Nothing]] |RETURNVALUE=
| [[Nothing]] |RETURNVALUE=
____________________________________________________________________________________________
   
   
|x1= <code>trigger [[setTriggerText]] "Call for support";</code> |EXAMPLE1=
|x1= <code>trigger [[setTriggerText]] "Call for support";</code> |EXAMPLE1=
____________________________________________________________________________________________


| [[triggerText]], [[createTrigger]], [[setTriggerActivation]], [[setTriggerArea]], [[setTriggerStatements]], [[setTriggerTimeout]], [[setTriggerType]], [[triggerInterval]], [[setTriggerInterval]], [[enableSimulation]], [[simulationEnabled]] |SEEALSO=
| [[triggerText]], [[createTrigger]], [[setTriggerActivation]], [[setTriggerArea]], [[setTriggerStatements]], [[setTriggerTimeout]], [[setTriggerType]], [[triggerInterval]], [[setTriggerInterval]], [[enableSimulation]], [[simulationEnabled]] |SEEALSO=

Revision as of 02:47, 17 January 2021

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:
Triggers

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:
triggerTextcreateTriggersetTriggerActivationsetTriggerAreasetTriggerStatementssetTriggerTimeoutsetTriggerTypetriggerIntervalsetTriggerIntervalenableSimulationsimulationEnabled

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