Versions Compared
compared with
Key
- This line was added.
- This line was removed.
- Formatting was changed.
Excerpt |
---|
Get positions of non-transient radar blips as seen by your radar detectors... |
Syntax
Code Block | ||||||
---|---|---|---|---|---|---|
| ||||||
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
Code Block | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
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); } ); |
Div | ||||||
---|---|---|---|---|---|---|
| ||||||
Availability
Requires:
|
Div | ||||
---|---|---|---|---|
| ||||
ContentsJump to:
|
Div | ||
---|---|---|
| ||
Blips include:What blips?Enemy sensor towers (all types) Enemy ECM towers Enemy radar detectors are not included Enemy units that have just gone went out of view are not included |
Div | ||
---|---|---|
| ||
See alsoRelated articles:
|