setWaypointForceBehaviour: Difference between revisions

From Bohemia Interactive Community
m (Text replacement - " " to " ")
m (fixed data type for parsing)
 
(13 intermediate revisions by one other 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


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


| waypoint [[setWaypointForceBehaviour]] state
|s1= waypoint [[setWaypointForceBehaviour]] state


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


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


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