waypointForceBehaviour: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replacement - "\|x([0-9])= *<code>([^<]*)<\/code>" to "|x$1= <sqf>$2</sqf>")
mNo edit summary
 
(4 intermediate revisions by one other user not shown)
Line 10: Line 10:
|s1= [[waypointForceBehaviour]] waypoint
|s1= [[waypointForceBehaviour]] waypoint


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


|r1= [[Boolean]] - is forced
|r1= [[Boolean]] - is forced
Line 18: Line 16:
|x1= <sqf>_isForced = waypointForceBehaviour [groupOne, 1];</sqf>
|x1= <sqf>_isForced = waypointForceBehaviour [groupOne, 1];</sqf>


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

Latest revision as of 10:20, 16 June 2024

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: Array format Waypoint
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