ScarDoc

Start typing to search the SCAR reference.

Function
Prox

Prox_ArePlayerMembersNearMarker

Returns true if ANY or ALL of a player's members (i.e. individual guys, not squads as a whole) are in range of a given position, marker, or territory sector. DO NOT USE THIS FUNCTION UNLESS YOU ABSOLUTELY HAVE TO!!

On this page
Prox_ArePlayerMembersNearMarker(player, position, all, range, filterlist, filtertype, ignore_camouflage)

Description

You MUST specify a range if you are using a position rather than a marker.

Parameters

  • playerPlayerIDrequired
  • positionMarkerID/Position/SectorIDrequired
  • allBooleanrequired
  • rangeRealoptional
  • filterlistSBP/Tableoptional
  • filtertypeIntegeroptional
  • ignore_camouflageBooleanoptional

Returns

Boolean

Source

Declared in the game's script sources at:

scar/proximity.scar