VOB - functions for object manipulation
VOB functions allow you to manipulate game world objects.
Vob_GetVobPosition
Returns the current position of the object in the world
vob
- vob to ge the position ofreturn
- C_Position instance - position of the VOB
Vob_SetVobPosition
Sets the current position of the object in the world
vob
- vob to get the position ofpos
- new position of the vob
Vob_GetVobData
Returns the universal data of the zCVob object
vob
- VOB to get the position ofreturn
- general vob data C_Vob_Data
Vob_SetVobData
Sets the universal data to a zCVob object
vob
- VOB to get the position ofdata
- general vob data C_Vob_Data
Vob_GetLightData
Returns zCVobLight object data
vobLight
- vobLight objectreturn
- C_Light_Data of the light
Vob_SetLightData
Sets the data of a zCVobLight object
vobLight
- object to apply the light data todata
- C_Light_Data light data to be set
Vob_ClearLightAniList
Clears the list of animation colours for the light source
vobLight
- light vob
Vob_AddLightAniColor
Adds a color to the colour list
vobLight
- object to apply the colour tocol
- colour to be applied
Vob_AddLightAniColorRGB
Adds a color to the colour list
vobLight
- object to apply the colour tor
- red colour channelg
- green colour channelb
- blue colour channel
Vob_GetMobData
Returns the data of the oCMOB object
mob
- oCMOB objectreturn
- mob data
Vob_SetMobData
Sets the data of the oCMOB object
mob
- oCMOB objectdata
- C_Mob_Data to be set
Vob_GetMobInterData
Returns the data of the oCMobInter object
mobInter
- oCMobInter objectreturn
- MobInter_Data of the object
Vob_SetMobInterData
Sets the data of the oCMobInter object
mobInter
- oCMobInter objectdata
- MobInter_Data of the object
Vob_GetMobInterData
Returns the data of the oCMobLockable object
mobLock
- oCMobLockable objectdata
- MobInter_Data of the objectreturn
- C_MobLockable_Data of the object
Vob_SetMobInterData
Sets the data of the oCMobLockable object
mobLock
- oCMobLockable objectdata
- C_MobLockable_Data of the object