class MobInter extends Mob (client-side)
Available since version: 0.1.0
This class represents 3d object in the world, which can be focused and interacted with.
Constructor
MobInter(string model)
Parameters:
stringmodel: the model name to be used as visual.
Constructor
MobInter(userpointer ptr)
Parameters:
userpointerptr: the pointer to the object from the game.
Properties
zlist optimalPositions (read-only)
Available since version: 0.3.4
Represents the optimal positions list. For more information see MobInterOptimalPos Class
string triggerTarget
Available since version: 0.2.1
Represents the vob name that will be triggered after interacting with the object.
string useWithItem
Available since version: 0.2.1
Represents the required item for the interaction with an object.
string sceme
Available since version: 0.2.1
Represents the sceme part of state animation, which will be played by player on interaction with mob.
string conditionFunc
Available since version: 0.3.0
Represents the Daedalus function name, which will be called when the player tries to interact with the mob.
int state
Available since version: 0.2.1
Represents the current interact state.
int stateNum (read-only)
Available since version: 0.2.1
Represents the number of interact states for the object.
int stateTarget
Available since version: 0.2.1
Represents the next target interact state id for the object.
int mobStateAni
Available since version: 0.2.1
Represents the current ani id used by the object during interaction.
int npcStateAni
Available since version: 0.2.1
Represents the current ani id used by the npc during interaction with an object.
bool rewind
Available since version: 0.2.1
Represents the rewind feature, if it's set to true the object animation will rewind to the beginning state after npc finished interacting with it.
int npcsMax (read-only)
Available since version: 0.3.4
Represents the maximum number of npcs that can interact with the object.
int npcsNeeded (read-only)
Available since version: 0.3.4
Represents the needed number of npcs that for the object to interact with.
int npcsCurrent
Available since version: 0.3.4
Represents the number of npcs that are currently interacting with the object.
int direction
Available since version: 0.2.1
Represents the next interact state direction for the object. For more information see MobInter Direction
Methods
No methods.
Callbacks
No callbacks.