MOB - interactive object functions
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 objectitem
- item to be removed
Mob_RemoveItems
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
Mob_InsertItem
Inserts an item into a oCMobContainer
object
- oCMobContainer objectitem
- item to be inserted
Mob_InsertItems
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
Mob_GetLockCombination
Returns a lock combination of a oCMobContainer
object
- oCMobContainer objectreturn
- lock combination
Mob_SetLockCombination
Mob_SetLockCombination
Sets a lock combination to a oCMobContainer
object
- oCMobContainer objectcomb
- lock combination
Mob_IsLocked
Mob_IsLocked
Returns TRUE
if the object is locked
object
- oCMobLockable objectreturn
-TRUE
if locked,FALSE
if unlocked
Mob_SetLocked
Mob_SetLocked
Set the lock status of the object
object
- oCMobLockable objectlocked
- lock or unlock the object
Mob_GetKeyInstance
Mob_GetKeyInstance
Returns the key instance, that unlocks the object
object
- oCMobLockable objectreturn
- the key C_ITEM instance
Mob_SetKeyInstance
Mob_SetKeyInstance
Stets the key instance, that unlocks the object
object
- oCMobLockable objectkey
- the key C_ITEM instance