MOB – interactive object functions¶
zDExt_Mob_SetFocusName¶
Sets the focus name of specified oCMOB in the game world.
mobName– name of the mob (interactive vob) in the game worldfocusName
zDExt_Mob_GetFocusName¶
Gets focus name of specified oCMOB in the game world.
mobName– name of the mob (interactive vob) in the game worldreturn– focus name of oCMOB
Example usage
var string focusName;
focusName = zDExt_Mob_GetFocusName("CHEST_LOBART");
if (Hlp_StrCmp(focusName, MOBNAME_CHEST))
{
//...
};
zDExt_Mob_GetScemeName¶
Gets the sceme name (interaction scheme) of a specified oCMobInter.
mobName– name of the mob (interactive vob) in the game worldreturn– sceme name. If the mob is not found or is not an interactive object, it's an empty string