waypointForceBehaviour: 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 - "_{10,} " to "")
Line 1: Line 1:
{{Command|Comments=
{{Command|Comments=
____________________________________________________________________________________________


|a3|= Game
|a3|= Game
Line 8: Line 7:
|gr1= Waypoints |GROUP1=
|gr1= Waypoints |GROUP1=


____________________________________________________________________________________________


| Returns true if the waypoint behavior is forced. |DESCRIPTION=
| Returns true if the waypoint behavior is forced. |DESCRIPTION=
____________________________________________________________________________________________


| [[waypointForceBehaviour]] waypoint; |SYNTAX=
| [[waypointForceBehaviour]] waypoint; |SYNTAX=
Line 19: Line 16:
| [[Boolean]] - is forced |RETURNVALUE=
| [[Boolean]] - is forced |RETURNVALUE=


____________________________________________________________________________________________
   
   
|x1= <code>_isForced = [[waypointForceBehaviour]] [groupOne, 1];</code> |EXAMPLE1=
|x1= <code>_isForced = [[waypointForceBehaviour]] [groupOne, 1];</code> |EXAMPLE1=


____________________________________________________________________________________________


| [[setWaypointForceBehaviour]], [[setWaypointBehaviour]], [[waypointBehaviour]], [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]] |SEEALSO=
| [[setWaypointForceBehaviour]], [[setWaypointBehaviour]], [[waypointBehaviour]], [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]] |SEEALSO=

Revision as of 04:19, 17 January 2021

-wrong parameter ("a3") defined!-[[:Category:Introduced with a3 version 1.58|1.58]]
Hover & click on the images for description

Description

Description:
Returns true if the waypoint behavior is forced.
Groups:
Waypoints

Syntax

Syntax:
waypointForceBehaviour waypoint;
Parameters:
waypoint: Waypoint - format [Group, index]
Return Value:
Boolean - is forced

Examples

Example 1:
_isForced = waypointForceBehaviour [groupOne, 1];

Additional Information

See also:
setWaypointForceBehavioursetWaypointBehaviourwaypointBehaviourBehaviour 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 | WAYPOINTFORCEBEHAVIOUR]][[ Category: a3: Scripting Commands | WAYPOINTFORCEBEHAVIOUR]]

Bottom Section