Difference between revisions of "VN ms fnc tracker getAOPlayers"

From Savage Game Design Wiki
Jump to navigation Jump to search
vn>Unknown user
m (Generated by LM_exportFunctionsToWiki.sqf)
 
(Page filling)
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
 
{{Function
 
{{Function
  
 
|v= 1.00
 
|v= 1.00
  
|a= Wyqer, veteran29
+
|author= Wyqer, veteran29
 +
 
 +
|a=
  
 
|e=
 
|e=
Line 10: 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:
 
        Gets players in a AO that are valid targets.
 
 
 
    Parameter(s):
 
        _ao - Area [MARKER or AREA ARRAY, defaults to ""]
 
 
 
    Returns:
 
        Players [ARRAY]
 
*/
 
</pre><small>''(Placeholder description extracted from the function header by '''LM_exportFunctionsToWiki.sqf''')''</small>
 
  
|s= [] call [[vn_ms_fnc_tracker_getAOPlayers]];
+
|s= [area] call [[VN_ms_fnc_tracker_getAOPlayers]]
  
|p1n=
+
|p1n= area
|p1t=
+
|p1t= {{Biki|String}} or {{Biki|Array}}
|p1d=
+
|p1d= marker name or array format [center, a, b, angle''(, isRectangle, c)''] - see {{Biki|inAreaArray#Syntax 2|inAreaArray}} syntax
 
|p1v=
 
|p1v=
  
Line 37: 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;