ID:178575
 
When I move and (randomly) encounter enemies the client.eye's doesn't reposition itself properly. I want it so it "moves" to the center of the battle field instead of tracking the player's mob. Can anyone help?

proc/Battle()

//Player's Location
src.LastMapLocation = src.loc

//Reposition Character
switch(src.dir)
if(NORTH) //Only North for testing purpose
src.BattlePosition = list(7,3,2)

src.loc = locate(BattlePosition[1],BattlePosition[2],BattlePosition[3])

//Center Player's view on center of Battle Field
client.eye = locate(7,7,2)
client.perspective = EYE_PERSPECTIVE