setWaypointForceBehaviour: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - "\|seealso= ([^ ]+)\]\], \[\[" to "|seealso= $1]] [[")
m (fixed data type for parsing)
 
(2 intermediate revisions by one other user not shown)
Line 10: Line 10:
|s1= waypoint [[setWaypointForceBehaviour]] state
|s1= waypoint [[setWaypointForceBehaviour]] state


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


|p2= state: [[Boolean]] - Force or not
|p2= state: [[Boolean]] - force or not


|r1= [[Nothing]]
|r1= [[Nothing]]
Line 20: Line 18:
|x1= <sqf>[grp, 2] setWaypointForceBehaviour true;</sqf>
|x1= <sqf>[grp, 2] setWaypointForceBehaviour true;</sqf>


|seealso= [[waypointForceBehaviour]] [[setWaypointBehaviour]] [[waypointBehaviour]] [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]]
|seealso= [[waypointForceBehaviour]] [[setWaypointBehaviour]] [[waypointBehaviour]] [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]]
}}
}}

Latest revision as of 18:35, 5 January 2026

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
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.
Only post proven facts here! Add Note