event_stats
Counts pending events associated with an autopilot.
Function
Synopsis
local stats = btech.autopilot.event_stats( autopilot )
Arguments
DbRef|Object autopilot- A registered BattleTech autopilot.
Returns
BtechAutopilotEventStats- A fresh table with integer fields
goto,leave,command,autogun,sensor,follow,enter_base,reply,profile,roam, andtotal. Every category is present, including zero counts.
Raises
mux.object.invalidif the object is not a registered autopilot.mux.object.unavailableif its runtime state is unavailable.
Notes
The result is a snapshot; later event scheduling does not mutate it.