Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ParameterTypeMandatoryDescriptionGame version
gameObject

Droid object

Structure object

Feature object

(tick)

An object representing the droid or structure that was just destroyed.

Also, if you pick a player picks up a barrel, artefact, or claim claims an oil resource, this event will be called with a feature object where the "player" property is set to the player that picked the item up or, in the case of an oil resource, build a derrick on it. Note, however, that regardless of who interacts with the artefact/resource the .player value will always be that of your script. So, you can detect when a barrel/artefact is picked up or when an oil resource is claimed but you can't determine who by.

(warning) This object will quickly be deleted from the game data so it must not be used in further API calls.

3.1 Beta 1

...