-
Notifications
You must be signed in to change notification settings - Fork 4
Radar
SuperSpaceEye edited this page Jan 16, 2024
·
5 revisions
Peripheral name - "sp_radar"
If radar is on the VS ship, then it will scan from "world" position instead.
If radar is on the VS ship, the first ship item will be of the ship the radar is on.
All radar functions are yielding.
- radius - radius of the scan
It will return a list of entity data, and then ship data. If it's an entity, item will have "is_entity"=true entry, if it's a ship it will have "is_ship"=true entry.
Will only scan for players in radius. More efficient than scanning for entities.
If scan takes more than a 100ms (configurable), it will terminate scan.
Scans for VS ships if VS is installed