setWaypointForceBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\<dt class\=\"note\"\>\'\'\'\[\[(.*)\]\]\'\'\'" to "<dt class="note">$1")
m (Text replacement - "(\|[pr][0-9]+ *= *[^- ]*) *- *F([a-z ])" to "$1 - f$2")
 
(28 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


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


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


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


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


| Nothing |RETURNVALUE=
|r1= [[Nothing]]


____________________________________________________________________________________________
|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>
[[Category:Scripting Commands Arma 3|{{uc:{{PAGENAME}}}}]]
[[Category:Command_Group:_Waypoints|{{uc:{{PAGENAME}}}}]]

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