View previous topic :: View next topic |
Author |
Message |
ShakeyAir
Joined: 27 Apr 2004 Posts: 93
|
Posted: Fri Jun 04, 2010 10:23 am Post subject: tile layer order |
|
|
is there any way to change this with plotscripting? like say, tile layer 2 is above heroes, can i do anything to make it below heroes? |
|
Back to top |
|
 |
NeoSpade Of course!

Joined: 23 Sep 2008 Posts: 249 Location: Wales GB
|
Posted: Fri Jun 04, 2010 10:48 am Post subject: |
|
|
I'm not sure if you mean dynamically switching mid-game, but on the map data screen, go to layers and tilesets, then hold ctrl and the up arrow, and it'll put layer 2 below the heroes and NPCs.
If you do want it dynamically, you could always try faking it by using Load tile set and load layer 2's default tiles on layer 1 and layer 1's on layer 0, as for layer 0's, not sure. |
|
Back to top |
|
 |
Bob the Hamster OHRRPGCE Developer

Joined: 22 Feb 2003 Posts: 2526 Location: Hamster Republic (Southern California Enclave)
|
Posted: Fri Jun 04, 2010 12:05 pm Post subject: |
|
|
You can't currently re-order map layers, but when I finish converting the map layers to slices then it will be pretty easy.
The code to do it will look something like this when it becomes possible:
Code: |
variable(layer, heroes)
heroes := lookup slice(sl:map heroes)
layer := lookup slice(sl:map layer 2)
move slice above(heroes, layer)
move slice below(heroes, layer)
|
But as I say, that doesn't work yet. |
|
Back to top |
|
 |
|