MOB functions (zPE)
Functions to manipulate interactive objects like destroying MOBs, setting lockpick combination and such.
Mob_Destroy
Mob_Destroy
Marks oCMOB as destroyed, changes the visual to visualDestroyed (if present).
- object- oCMOB to be destroyed
Mob_RemoveItem
Mob_RemoveItem
Removes an item from a oCMobContainer
- object- oCMobContainer object
- item- item to be removed
Mob_RemoveItems
Mob_RemoveItems
Removes specified number of items from a oCMobContainer
- object- oCMobContainer object
- item- item to be removed
- cnt- number of items to be removed
Mob_InsertItem
Mob_InsertItem
Inserts an item into a oCMobContainer
- object- oCMobContainer object
- item- item to be inserted
Mob_InsertItems
Mob_InsertItems
Inserts specified number of items into a oCMobContainer
- object- oCMobContainer object
- item- item to be inserted
- cnt- number of items to be inserted
Mob_GetLockCombination
Mob_GetLockCombination
Returns a lock combination of a oCMobContainer
- object- oCMobContainer object
- return- lock combination
Mob_SetLockCombination
Mob_SetLockCombination
Sets a lock combination to a oCMobContainer
- object- oCMobContainer object
- comb- lock combination
Mob_IsLocked
Mob_IsLocked
Returns TRUE if the object is locked
- object- oCMobLockable object
- return-- TRUEif locked,- FALSEif unlocked
Mob_SetLocked
Mob_SetLocked
Set the lock status of the object
- object- oCMobLockable object
- locked- lock or unlock the object
Mob_GetKeyInstance
Mob_GetKeyInstance
Returns the key instance, that unlocks the object
- object- oCMobLockable object
- return- the key C_ITEM instance
Mob_SetKeyInstance
Mob_SetKeyInstance
Stets the key instance, that unlocks the object
- object- oCMobLockable object
- key- the key C_ITEM instance