BIS fnc taskAttack: Difference between revisions
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Page filling) |
m (template:command argument fix) |
||
Line 7: | Line 7: | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| This function adds a [[Waypoint_types#Seek_.26_Destroy|Seek and Destroy]] waypoint on defined position to the group and set its [[behaviour]] to "AWARE". If the group has other waypoints, the waypoint will be added at the end of the list. |= | | This function adds a [[Waypoint_types#Seek_.26_Destroy|Seek and Destroy]] waypoint on defined position to the group and set its [[behaviour]] to "AWARE". If the group has other waypoints, the waypoint will be added at the end of the list. |DESCRIPTION= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [group, position] call [[BIS_fnc_taskAttack]] |= | | [group, position] call [[BIS_fnc_taskAttack]] |SYNTAX= | ||
|p1= group: [[Group]] |= | |p1= group: [[Group]] |PARAMETER1= | ||
|p2= position: [[Position]] |= | |p2= position: [[Position]] |PARAMETER2= | ||
| [[Boolean]] |= | | [[Boolean]] |RETURNVALUE= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
|x1= <code>[opforGroup, [[getPosATL]] [[player]]] [[call]] [[BIS_fnc_taskAttack]];</code> |= | |x1= <code>[opforGroup, [[getPosATL]] [[player]]] [[call]] [[BIS_fnc_taskAttack]];</code> |EXAMPLE1= | ||
____________________________________________________________________________________________ | ____________________________________________________________________________________________ | ||
| [[addWaypoint]], [[Waypoints]], [[behaviour]] |= | | [[addWaypoint]], [[Waypoints]], [[behaviour]] |SEEALSO= | ||
}} | }} | ||
Revision as of 14:33, 7 April 2019
Description
- Description:
- This function adds a Seek and Destroy waypoint on defined position to the group and set its behaviour to "AWARE". If the group has other waypoints, the waypoint will be added at the end of the list.
- Execution:
- call
- Groups:
- Uncategorised
Syntax
- Syntax:
- [group, position] call BIS_fnc_taskAttack
- Parameters:
- group: Group
- position: Position
- Return Value:
- Boolean
Examples
- Example 1:
[opforGroup, getPosATL player] call BIS_fnc_taskAttack;
Additional Information
- See also:
- addWaypointWaypointsbehaviour
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