setWaypointForceBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "<h3 style="display:none">Bottom Section</h3> " to "")
m (Text replacement - " *\| *([Cc]omments|COMMENTS|Game|[Gg]ame [Nn]ame( +[0-9])?|Game [Vv]ersion( +[0-9])?|Game Version \(number surrounded by NO SPACES\)|Arguments in MP|MP[Aa]rg|Multiplayer Arguments( \("local" or "global"\))?|Effects|Execution|Effects...)
Line 1: Line 1:
{{Command|Comments=
{{Command


|a3|= Game
|a3|= Game


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


|gr1= Waypoints |GROUP1=
|gr1= Waypoints




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


| waypoint [[setWaypointForceBehaviour]] state |SYNTAX=
| waypoint [[setWaypointForceBehaviour]] state


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


| Nothing |RETURNVALUE=
| Nothing


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


}}
}}

Revision as of 12:26, 18 January 2021

-wrong parameter ("a3") defined!-[[:Category:Introduced with a3 version 1.58|1.58]]
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:
waypointForceBehavioursetWaypointBehaviourwaypointBehaviourBehaviour 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

[[Category:Introduced with a3 version 1.58]][[ Category: a3: New Scripting Commands | SETWAYPOINTFORCEBEHAVIOUR]][[ Category: a3: Scripting Commands | SETWAYPOINTFORCEBEHAVIOUR]]