Can anyone pls HELP me to make my server can keep walking & change direction at ONE Click.
According to this, In src/map/unit.c
/**
* Begins the function of walking a unit to an x,y location
* This is where the path searches and unit can_move checks are done
* @param bl: Object to send to x,y coordinate
* @param x: X coordinate where the object will be walking to
* @param y: Y coordinate where the object will be walking to
* @param flag: Parameter to decide how to walk
* &1: Easy walk (fail if CELL_CHKNOPASS is in direct path)
* &2: Force walking (override can_move)
* &4: Delay walking for can_move
* &8: Search for an unoccupied cell and cancel if none available
* @return 1: Success 0: Fail or unit_walktoxy_sub()
*/
int unit_walktoxy( struct block_list *bl, short x, short y, unsigned char flag)
Does anyone have any idea to make my dream true ?,
Thank you so much for every reply.