Skip to content

Destructible

Destructible is the abstract X4 engine class for objects that can be destroyed. They have a hull, take damage, and emit event_object_destroyed when killed.

  • .hull β€” current hull value
  • .hullpercentage β€” 0-100
  • .hullmax β€” maximum hull
  • event_object_destroyed β€” destruction event
  • event_object_damaged β€” damage event

Most game objects inherit from destructible:


Stub page β€” full destructible reference coming.