Skip to content
aubergine10 edited this page Dec 6, 2015 · 2 revisions

Seen on a FireEngine vehicle

  • nil - no value indicates truck is driving down road
  • Waiting - Means the vehicle is waiting where it parked (seen on FireEngine)
  • Processing - Vehicle is un/loading (seen on SupplyTruck)
  • Leaving - Vehicle is leaving (seen on Ambulance) - possibly only while accelerating from stop (ie. so game knows to accelerate rather than decelerate?)

Assume other values are things like Arriving and Leaving? Likely to be applicable to all vehicles.

If state == nil and speed == nil then the vehicle is queueing (behind a parked vehicle)

##See Also

^ Open "Pages" to Search



Guides:

  • [Lua Basics](Lua Basics Guide)
  • [Save-Load Cycle](Save-Load Cycle Guide)

[Globals](Object Globals):

  • [Game](Game (Global))
  • [me](me (Global))
  • [Object](Object (Global))
  • [this](this (Global))

[Events](Object Events):

Psuedo-Types:

  • [Rotation table](Rotation table)
  • [Id table](Id table)
  • [Location table](Location table)
  • [Velocity table](Velocity table)

[Methods](Object Methods):

[Properties](Object Properties):

Clone this wiki locally