setWaypointForceBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
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...)
m (Text replacement - " {3,}\|" to " |")
Line 6: Line 6:


|gr1= Waypoints
|gr1= Waypoints


| Forces the behavior of waypoint, disables AUTOCOMBAT.
| Forces the behavior of waypoint, disables AUTOCOMBAT.
Line 19: Line 18:
   
   
|x1= <code>[grp, 2] [[setWaypointForceBehaviour]] [[true]];</code>
|x1= <code>[grp, 2] [[setWaypointForceBehaviour]] [[true]];</code>


| [[waypointForceBehaviour]], [[setWaypointBehaviour]], [[waypointBehaviour]], [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]]
| [[waypointForceBehaviour]], [[setWaypointBehaviour]], [[waypointBehaviour]], [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]]

Revision as of 19:17, 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]]