setWaypointForceBehaviour: Difference between revisions

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


|a3|= Game
|a3|= Game
Line 8: Line 7:
|gr1= Waypoints |GROUP1=
|gr1= Waypoints |GROUP1=


____________________________________________________________________________________________


| Forces the behavior of waypoint, disables AUTOCOMBAT. |DESCRIPTION=
| Forces the behavior of waypoint, disables AUTOCOMBAT. |DESCRIPTION=
____________________________________________________________________________________________


| waypoint [[setWaypointForceBehaviour]] state |SYNTAX=
| waypoint [[setWaypointForceBehaviour]] state |SYNTAX=
Line 20: Line 17:
| Nothing |RETURNVALUE=
| Nothing |RETURNVALUE=


____________________________________________________________________________________________
   
   
|x1= <code>[grp, 2] [[setWaypointForceBehaviour]] [[true]];</code> |EXAMPLE1=
|x1= <code>[grp, 2] [[setWaypointForceBehaviour]] [[true]];</code> |EXAMPLE1=


____________________________________________________________________________________________


| [[waypointForceBehaviour]], [[setWaypointBehaviour]], [[waypointBehaviour]], [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]] |SEEALSO=
| [[waypointForceBehaviour]], [[setWaypointBehaviour]], [[waypointBehaviour]], [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]] |SEEALSO=

Revision as of 04:50, 17 January 2021

-wrong parameter ("a3") defined!-[[:Category:Introduced with a3 version 1.58|1.58]]
Hover & click on the images for description

Description

Description:
Forces the behavior of waypoint, disables AUTOCOMBAT.
Groups:
Waypoints

Syntax

Syntax:
waypoint setWaypointForceBehaviour state
Parameters:
waypoint: Waypoint - format [Group, index]
state: Boolean - Force or not
Return Value:
Nothing

Examples

Example 1:
[grp, 2] setWaypointForceBehaviour true;

Additional Information

See also:
waypointForceBehavioursetWaypointBehaviourwaypointBehaviourBehaviour Description

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

[[Category:Introduced with a3 version 1.58]][[ Category: a3: New Scripting Commands | SETWAYPOINTFORCEBEHAVIOUR]][[ Category: a3: Scripting Commands | SETWAYPOINTFORCEBEHAVIOUR]]

Bottom Section