Skip to content

oCMOB

Quick Infos

Class Name: oCMOB
Version Identifiers:
β€” Gothic I: 47105
β€” Gothic II: 47105
Sources:
β€” spacerhilfedatei.sph
β€” gothic-library.ru
β€” zk.gothickit.dev

A VObject which can optionally be moved and/or carried.

Class members

Class member overview

focusName

The name of the object as seen in-game when focusing it.

hitpoints

The number of hitpoints of the object.

damage

The damage dealt by the object when being used.

moveable

Whether the object can be moved by the player.

Accepted values:

  • TRUE β€” The object can be moved
  • FALSE β€” The object can not be moved

takeable

Whether the object can be carried by the player.

Accepted values:

  • TRUE β€” The object can be carried
  • FALSE β€” The object can not be carried

focusOverride

Unknown.

soundMaterial

The sound to play when the object is hit.

Accepted values:

  • WOOD β€” Wood.
  • STONE β€” Stone.
  • METAL β€” Metal.
  • LEATHER β€” Leather.
  • CLAY β€” Clay.
  • GLAS β€” Glass.

visualDestroyed

The name of the visual to use when the object is destroyed. Behaves like zCVob.visual.

owner

The name of the script instance of the NPC who is the owner of this object.

ownerGuild

The name of the guild this object belongs to. This name corresponds to the script constant for each guild (i.e. GIL_BAU), found in Constants.d.

isDestroyed

Unknown.