User Tools

Site Tools


4rpl:commands:getuniternstate

Index

GetUnitERNState

GetUnitERNState(<-unit) ->hasERN

Description

Returns whether or not the unit has an ERN installed.

Note: Do not get mixed up with the API GetUnitERNSimulated. They are completely separate and when an ERN is docked, this API will return true while GetUnitERNSimulated will not based on the ERN being docked alone.

Examples

traceAllSP(GetUnitERNState(self))

Index

4rpl/commands/getuniternstate.txt · Last modified: 2022/05/23 19:18 by Vertu