battle
backgrounds
grasslands
icon = 'pics/backgrounds/Grassland01.png' //png battle background defined here
Problem description:
I cannot figure out how to get the sprite off the png icon.
If you log out mid battle then you log back in on the battle field. So i went to the login and, since they never lost their inbattle value of one i did...
mob/proc/Relocate()
if(src.human)
src.client.edge_limit = null
src.eye = null
src.loc = locate(11,21,1)
return
if(src.monster)
src.client.edge_limit = null
src.eye = null
src.loc = locate(2,9,1)
return
added the proc under the login thing
login()
src.Relocate()
since all battle backgrounds are on the 6th z, i even added a check under the move to see if walking on the picture did anything.
Move()
if(src.z==6)
src.inbattle = 0
src.Relocate()
src.client.edge_limit = null
yet nothing worked, any ideas?
eg
then when the battle starts you have to workout what background you want and where its going to be then make it
this is just an example. (everyone else feel free to give a better example)