setWaypointForceBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " \| *(([^=\| ]+)('''|\[\[)([^=\| ]+)) * +\|p1=" to " |s1= $1 |p1=")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *F([a-z ])" to "$1 - f$2")
 
(10 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


| arma3|= Game
|game1= arma3
|version1= 1.58


|1.58
|gr1= Waypoints


|gr1= Waypoints
|descr= Forces the behavior of waypoint, disables AUTOCOMBAT.


| Forces the behavior of waypoint, disables AUTOCOMBAT.
|s1= waypoint [[setWaypointForceBehaviour]] state


|s1= waypoint [[setWaypointForceBehaviour]] state
|p1= waypoint: [[Waypoint]] - format [group, index]:
* group: [[Group]]
* index: [[Number]]


|p1= waypoint: [[Waypoint]] - format [<nowiki/>[[Group]], ''index'']
|p2= state: [[Boolean]] - force or not
|p2= state: [[Boolean]] - Force or not


| Nothing
|r1= [[Nothing]]


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


| [[waypointForceBehaviour]], [[setWaypointBehaviour]], [[waypointBehaviour]], [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]]
|seealso= [[waypointForceBehaviour]] [[setWaypointBehaviour]] [[waypointBehaviour]] [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 15:29, 8 November 2023

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:
waypointForceBehaviour setWaypointBehaviour waypointBehaviour Behaviour 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