Browse docs

Client: triggerRadialMenuAction(actionId)

Reference for Client: triggerRadialMenuAction(actionId) in mechanicjob.

All exports

This page documents supported public integration calls and usage examples. It does not expose or reproduce the resource's internal implementation.

Client Exports

triggerRadialMenuAction(actionId)

  • Purpose: Executes a supported mechanic radial action programmatically.
  • Arguments:
    • actionId (string) - one of the radial action IDs exposed by getRadialActions().
  • Returns:
    • boolean - true on success, false on failure.
    • table? - optional error payload with key and fallback.
local ok, err = exports["sky_mechanicjob"]:triggerRadialMenuAction("access_lift")

if not ok and err then
    print(err.fallback)
end