Other great resources: Official JS API docs, Scripting Forum
enumBlips()
- Aubergine
Owned by Aubergine
Get positions of non-transient radar blips as seen by your radar detectors...
Â
Syntax
var returnValue = enumBlips( seenBy );
Parameters
Parameter | Type | Mandatory | Description | Game version |
---|---|---|---|---|
seenBy | Number | A list of blips seen by the specified player will be returned. Usually, you'll want this to be me. | 3.1 beta 2 |
Return values
Value | Type | Description | Game version |
---|---|---|---|
<blips> | Array | An array of objects, with each object having an You cannot target blips, but you can send a droid to the position to scout and find out more about what is there. | 3.1 beta 2 |
<error> | Error | The player specified does not exist. | 3.1 beta 2 |
Example
Iterating a list of blips
var blips = enumBlips(me); // what radar blips can I see? Â blips.forEach( function(blip) { console("Enemy blip detected at x:"+blip.x+", y:"+blip.y); } );
Availability 3.1 B2+
Requires:
- Warzone 3.1 Beta 2 or above
Contents
Jump to:
What blips?
 Enemy sensor towers (all types)
 Enemy ECM towers
 Enemy radar detectors
 Enemy units that just went out of view
See also
Related articles:
- eventObjectSeen() – an event that's triggered when your normal sensors detect game objects
- enumArea() – get a list of objects in a specific area of the map
- enumRange() – get a list of objects within a specific range of a map position
- enumStruct() – get a list of structures
- Map – quick reference of API features relating to maps
Â