waypointForceBehaviour: 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...)
mNo edit summary
 
(23 intermediate revisions by one other user not shown)
Line 1: Line 1:
{{Command
{{RV|type=command


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


|gr1= Waypoints
|gr1= Waypoints


|descr= Returns true if the waypoint behavior is forced.


| Returns true if the waypoint behavior is forced.
|s1= [[waypointForceBehaviour]] waypoint
 
| [[waypointForceBehaviour]] waypoint;
 
|p1= waypoint: [[Waypoint]] - format [<nowiki/>[[Group]], ''index'']
 
| [[Boolean]] - is forced


 
|p1= waypoint: [[Array]] format [[Waypoint]]
|x1= <code>_isForced = [[waypointForceBehaviour]] [groupOne, 1];</code>


|r1= [[Boolean]] - is forced


| [[setWaypointForceBehaviour]], [[setWaypointBehaviour]], [[waypointBehaviour]], [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]]
|x1= <sqf>_isForced = waypointForceBehaviour [groupOne, 1];</sqf>


|seealso= [[setWaypointForceBehaviour]] [[setWaypointBehaviour]] [[waypointBehaviour]] [[Mission_Editor:_Waypoints#Behaviour|Behaviour Description]]
}}
}}
<dl class="command_description">
<!-- BEGIN Note Section -->
<!-- For example:
<dd class="notedate">Posted on Month Day, Year - Time (UTC)</dd>
<dt class="note">[[User:User Name|]]</dt>
<dd class="note">This is an example note. It is true and verifiable, and contains a little code snippet.
<code>[[if]] ([[_this]] == anExample) [[then]] { [[hint]] "Leave it here for others to read"; };</code></dd>
-->
<!-- END Note Section -->
</dl>
<h3 style="display:none">Bottom Section</h3>
{{GameCategory|arma3|Scripting Commands}}

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