setWaypointForceBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " <!-- [A-Z]+ Notes? Section -->" to "")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *F([a-z ])" to "$1 - f$2")
 
(15 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


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


| 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= <sqf>[grp, 2] setWaypointForceBehaviour true;</sqf>
|x1= <code>[grp, 2] [[setWaypointForceBehaviour]] [[true]];</code>


| [[waypointForceBehaviour]], [[setWaypointBehaviour]], [[waypointBehaviour]], [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]]
|seealso= [[waypointForceBehaviour]] [[setWaypointBehaviour]] [[waypointBehaviour]] [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]]
}}
}}
<dl class="command_description">
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">[[User:User Name|]]</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[Magic Variables#this|_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
</dl>
{{GameCategory|arma3|Scripting Commands}}

Latest revision as of 16: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