ID:154831
 
ok im trying to make it so when you encounter a random battle it brings you to a battle place like final fantasy battles or pokemon battles
but i cant seem to get anything right :(
how do i make it so that each person gets their own battle scene?
Increase <code>z</code> levels?
Map Instancing (Easier from what I've heard)

SwapMaps (It seems hard but it's really not bad when you get it)
You could also have it HUD based.

EG.

obj
background
icon = 'background.dmi' //this image file can be large enough to cover the entire map

mob
verb
test_background()
var/obj/background/b = new
client.screen += b //add the object to src's screen
sleep(50)
client.screen -= b


If you do this though, the whole battle would probably need to be handled HUD based, and you can just increase the layer of objects that go ontop of that.
In response to Speedro
Speedro wrote:
You could also have it HUD based.

EG.

obj
> background
> icon = 'background.dmi' //this image file can be large enough to cover the entire map
>
> mob
> verb
> test_background()
> var/obj/background/b = new
> client.screen += b //add the object to src's screen
> sleep(50)
> client.screen -= b

If you do this though, the whole battle would probably need to be handled HUD based, and you can just increase the layer of objects that go ontop of that.

This is what I'd suggest. Using in-game objects for your battle setups will cause too many headaches compared to just using screen objects