function useClosestMobQueued (client-side)
Available since version: 0.3.2
This function will try to trigger interaction between hero/npc and nearest Mob object.
Declaration
void useClosestMobQueued(int id, string scemeName, int targetState)
Parameters
intid: the player id.stringscemeName: the animation sceme name, e.g:"BENCH"when you want to interact with bench.inttargetState: the target state, use1if you want to start interaction with the Mob or-1if you want to end it.