Tree Layers
Overview
Creator:
Mr. Z
Added: 30 Apr 2014
Tags:
Global
|
View Script |
Information
Handles proper layering for tree layers when using items such as Roc's Feather.
Description Setup Reviews Comments
Simple. For a clean global script I suggest you import this script as a file: import "TreeLayers.z"
Then just put "TreeLayers();" in your main loop so this script gets called every frame.
Don't forget to import "std.zh" as well.
"std_functions.zh" misses GetLayerComboC and GetLayerComboI, so I added those to this script. You'll still need to import "std.zh" for GetLayerComboT though.
You can use a combo type or an inherent flag type for the tree combos.
Right now it's set up to transform Overhead combos (since those don't work on layers, if they did this script would have been easier to make)
Treetops that have been placed on layer 4 will be overlayered to layer 5. In the quest I used to test this I had my Jump Sprite Layer Threshold set to 5.
Resources
std.zh
Then just put "TreeLayers();" in your main loop so this script gets called every frame.
Don't forget to import "std.zh" as well.
"std_functions.zh" misses GetLayerComboC and GetLayerComboI, so I added those to this script. You'll still need to import "std.zh" for GetLayerComboT though.
You can use a combo type or an inherent flag type for the tree combos.
Right now it's set up to transform Overhead combos (since those don't work on layers, if they did this script would have been easier to make)
Treetops that have been placed on layer 4 will be overlayered to layer 5. In the quest I used to test this I had my Jump Sprite Layer Threshold set to 5.
Resources
std.zh



