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