Difference between revisions of "VN ms fnc tracker getAOPlayers"

From Savage Game Design Wiki
Jump to navigation Jump to search
m (Text replacement - "[[vn_" to "[[VN_")
(Page filling)
 
Line 1: Line 1:
[[Category:TODO]]
 
 
{{Function
 
{{Function
  
Line 12: Line 11:
 
|g1= tracker
 
|g1= tracker
  
|d= <pre>/*
+
|d= Gets players in a AO that are valid targets (alive and on foot).
    Author: Wyqer, veteran29
 
    Date: 2019-08-16
 
  
    Description:
+
|s= [area] call [[VN_ms_fnc_tracker_getAOPlayers]]
        Gets players in a AO that are valid targets.
 
  
    Parameter(s):
+
|p1n= area
        _ao - Area [MARKER or AREA ARRAY, defaults to ""]
+
|p1t= {{Biki|String}} or {{Biki|Array}}
 
+
|p1d= marker name or array format [center, a, b, angle''(, isRectangle, c)''] - see {{Biki|inAreaArray#Syntax 2|inAreaArray}} syntax
    Returns:
 
        Players [ARRAY]
 
*/
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
 
 
|s= [] call [[VN_ms_fnc_tracker_getAOPlayers]]
 
 
 
|p1n=
 
|p1t=
 
|p1d=
 
 
|p1v=
 
|p1v=
  
Line 39: Line 25:
 
|p2v=
 
|p2v=
  
|r1t=
+
|r1t= array
|r1d=
+
|r1d= returned players
  
|x1= <code>-</code>
+
|x1= <code>["area"] call [[VN_ms_fnc_tracker_getAOPlayers]];</code>
 
}}
 
}}

Latest revision as of 15:34, 26 February 2021

← back to Functions Introduced in S.O.G. Prairie Fire v1.00
by Wyqer, veteran29
Argument(s): n/a
Effect(s): unknown

Description

Gets players in a AO that are valid targets (alive and on foot).

Syntax

Syntax
[area] call VN_ms_fnc_tracker_getAOPlayers
Parameters
area: String or Array - marker name or array format [center, a, b, angle(, isRectangle, c)] - see inAreaArray syntax
Return value
Array - returned players

Examples

Example 1
["area"] call VN_ms_fnc_tracker_getAOPlayers;