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