waypointForceBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - " " to " ")
m (Text replacement - "‎" to "")
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{RV|type=command
{{RV|type=command


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


|gr1= Waypoints
|gr1= Waypoints


| Returns true if the waypoint behavior is forced.
|descr= Returns true if the waypoint behavior is forced.
 
| [[waypointForceBehaviour]] waypoint;


|p1= waypoint: [[Waypoint]] - format [<nowiki/>[[Group]], ''index'']
|s1= [[waypointForceBehaviour]] waypoint


| [[Boolean]] - is forced
|p1= waypoint: [[Waypoint]] - format [group, index]:
* group: [[Group]]
* index: [[Number]]


|r1= [[Boolean]] - is forced


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


| [[setWaypointForceBehaviour]], [[setWaypointBehaviour]], [[waypointBehaviour]], [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]]
|seealso= [[setWaypointForceBehaviour]] [[setWaypointBehaviour]] [[waypointBehaviour]] [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]]
}}
}}
{{GameCategory|arma3|Scripting Commands}}

Revision as of 11:55, 26 April 2023

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:
setWaypointForceBehaviour 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