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 - "(\|[pr][0-9]+ *= *[^- ]*) *- *F([a-z ])" to "$1 - f$2")
 
(23 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Command|Comments=
{{RV|type=command
____________________________________________________________________________________________


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


|1.58|Game Version (number surrounded by NO SPACES)=
|gr1= Waypoints


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


____________________________________________________________________________________________
|s1= waypoint [[setWaypointForceBehaviour]] state


| Forces the behavior of waypoint, disables AUTOCOMBAT. |DESCRIPTION=
|p1= waypoint: [[Waypoint]] - format [group, index]:
____________________________________________________________________________________________
* group: [[Group]]
* index: [[Number]]


| waypoint [[setWaypointForceBehaviour]] state |SYNTAX=
|p2= state: [[Boolean]] - force or not


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


| Nothing |RETURNVALUE=
|x1= <sqf>[grp, 2] setWaypointForceBehaviour true;</sqf>
 
____________________________________________________________________________________________
 
|x1= <code>[grp, 2] [[setWaypointForceBehaviour]] [[true]];</code> |EXAMPLE1=
 
____________________________________________________________________________________________
 
| [[waypointForceBehaviour]], [[setWaypointBehaviour]], [[waypointBehaviour]], [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]] |SEEALSO=


|seealso= [[waypointForceBehaviour]] [[setWaypointBehaviour]] [[waypointBehaviour]] [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- 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]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>
{{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