Skip to content

UDS

← EXE Functions · code catalog

Friendly names for EXE category 21. Each maps to a top-level EXE code.


SetUDStabText

SetUDStabText(udsText: string)  ·  exe 264

To set the UDS text to appear in a management tab that is selected by user.

Parameters

  • udsText (string) — UDS Text

Example: exe(264,'Text')


SetUDSpopupText

SetUDSpopupText(udsText: string, udsPopuptype: int)  ·  exe 266

To set the UDS text to appear in a popup. Popup Type 0+1 = regular text popup

Parameters

  • udsText (string) — UDS Text
  • udsPopuptype (int) — UDS Popuptype

Example: exe(266,'Text',1)


SetUDSbottomText

SetUDSbottomText(udsText: string)  ·  exe 305

To set the UDS text to appear in a bottom tab that is selected by user.

Parameters

  • udsText (string) — UDS Text

Example: exe(305,'Text')


ChangeLocationLISitem

ChangeLocationLISitem(locationSlot: int, lisItemId: int, qty: int, extraInstruction: int)  ·  exe 308

Extra instruction<1 is ADD/SUBTRACT. Extra instruction 1 is OVERWRITE.

Parameters

  • locationSlot (int) — Location slot#
  • lisItemId (int) — LIS item ID
  • qty (int) — Qty
  • extraInstruction (int) — Extra instruction

Example: exe(308,1,7,1,1)


ChangeUnitLISitem

ChangeUnitLISitem(unitSlot: int, lisItemId: int, qty: int, extraInstruction: int)  ·  exe 309

Extra instruction<1 is ADD/SUBTRACT. Extra instruction 1 is OVERWRITE.

Parameters

  • unitSlot (int) — Unit slot#
  • lisItemId (int) — LIS item ID
  • qty (int) — Qty
  • extraInstruction (int) — Extra instruction

Example: exe(309,1,7,1,1)


ClearLISpoints

ClearLISpoints()  ·  exe 312

Clear all temporary LIS points and free AP points. They are used by the hardcoded LIS_SetNetwork.

Example: exe(312)


SetLISpoints

SetLISpoints(locationSlot: int, lisTransportModeId: int, arg: int, addPoints: int)  ·  exe 313

LIS Points are added to the ID+Target combination. Put -1 if no target.

Parameters

  • locationSlot (int) — Location slot#
  • lisTransportModeId (int) — LIS Transport Mode ID
  • arg (int) — (optional) Target ID
  • addPoints (int) — Add Points

Example: exe(313,1,1,1,10)


SetLISfreeAP

SetLISfreeAP(locationSlot: int, lisTransportModeId: int, arg: int, addFreeAp: int)  ·  exe 314

LIS Free AP Points are added to the ID+Target combination. Put -1 if no target.

Parameters

  • locationSlot (int) — Location slot#
  • lisTransportModeId (int) — LIS Transport Mode ID
  • arg (int) — (optional) Target ID
  • addFreeAp (int) — Add Free AP

Example: exe(314,1,1,1,1)


This doc was generated from extracting data from Shadow Empire version 1.32a on 2026-06-05 06:56 UTC.