Skip to main content

Core

Contains many useful types and enumerations.

info

This module can only be used in Entity scripts.

Enums

AsyncMode

  • Wait value = 0
  • Continue value = 1

Bearing

  • North value = 0
  • East value = 1
  • South value = 2
  • West value = 3

ObstacleType

  • Empty value = 0
  • Unknown value = 1
  • Wall value = 2
  • Player value = 3
  • Cliff value = 4
  • Crate value = 5
  • Robot value = 6
  • Trigger value = 7
  • Decor value = 8
  • Ball value = 9
  • NPC value = 10
  • Crystal value = 11
  • Gem value = 12
  • Animal value = 13

ForceMode

  • Force value = 0
  • Impulse value = 1
  • VelocityChange value = 2
  • Acceleration value = 5

CategoryType

  • Land value = 0
  • Walls value = 1
  • Robots value = 2
  • Sensors value = 3
  • Explosives value = 4
  • Zones value = 5
  • Decor value = 6
  • NPCs value = 7
  • Toys value = 8
  • Collectables value = 9
  • Crates value = 10
  • Animals value = 11
  • Shapes value = 12
  • Vehicles value = 13
  • Structures value = 16
  • Platforms value = 17

SensorType

  • Proximity value = 0
  • Box value = 1
  • Sphere value = 2