Zum Inhalt springen
Gothic MultiplayerMultiplayer
Gothic MP Wiki

WorldObject

Interactive objects placed in the world: benches, ladders, torches, doors, chests.

Objects are obtained from ch:findNearestObject and from the interaction events. In the examples obj is any WorldObject.

Methods

isTorchLit

obj:isTorchLit()

Tells whether the fire of the object is burning (roadside torch, fire basket).

Returns: boolean - true when burning; false when extinguished or when the object has no fire.

Auf dieser Seite