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

This property requires further investigation

##Overview

If you want to find undocumented bits of scripting API on an object, this is the place to look. The .WorldObject property contains various metatables with getters and setters for the [Object Properties](Object Properties) and [Object Methods](Object Methods) available on the object.

The easiest way to browse the property and its contents is via the script debugger:

  • For scripted objects, select the object on the map, then press F3 to open the debugger
  • For non-scripted objects, you'll need to create a dummy object that is scripted so that when placed on the map it searches for the objects you are interested in, then select the dummy object on the map and press F3 to open its script debugger and you'll find global variables containing objects it found

With the script debugger open, go to the explorer mode which lets you browse the objects' scripting environment, select this (or a global variable representing the objects it found) then WorldObject and poke around in there.

If you find anything that's not listed in the sidebar, please let us know - and remember to state which <objectId> (object type) it relates to.

^ 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