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