ScaryBinary
03-23-2013, 10:12 PM
Hey folks, been awhile since I've worked on my ZC Quest (uh.....like 5 years....) but I'm getting back in the swing of things and need a bit of a refresher. I poked around the Wiki and a few ZC websites but couldn't find much info on the following topics....so here goes. Working with the latest Linux build of 2.50.
(a) If I have a combo on Layer 0, and a combo above that one on Layer 1 or 2 (or mabye both), what layers do the Combo[] arrays (e.g., ComboF[]) work with? ZScript.txt refers to "the combo on the screen"...does this mean the Combo[] arrays only provide info for combos on Layer 0? Is there any way to get the info for Combos on other layers?
(b) On what layers do the Combo Type and inherent Flag take effect? For example, will a Ladder / Hookshot combo type work properly if I put it on Layer 2, or does it have to be on Layer 0?
(c) Walkability. This seems pretty straight forward based on some ZQuest experiments I ran, but basically it looks like if I have combos on Layer 0, 1, and 2 (all at the same location), then if at least one of them is unwalkable then overall that spot is unwalkable. So, is it true that if change the walkability of a combo on Layer 0 using ComboS[], that if there is an unwalkable combo above it on Layer 1 or 2, that spot will still be unwalkable?
Anyway, I'm asking because I'm working on a script to adjust walkability on the fly and wanted to know if there was an easier way to do what I want to do. I guess for (c) I can just write a quick script and see what happens, but I wanted a definitive answer from the pros.
(Feel free to shove this over in the Scripting forum if this is too scripty for the general forum...)
Thanks!
(a) If I have a combo on Layer 0, and a combo above that one on Layer 1 or 2 (or mabye both), what layers do the Combo[] arrays (e.g., ComboF[]) work with? ZScript.txt refers to "the combo on the screen"...does this mean the Combo[] arrays only provide info for combos on Layer 0? Is there any way to get the info for Combos on other layers?
(b) On what layers do the Combo Type and inherent Flag take effect? For example, will a Ladder / Hookshot combo type work properly if I put it on Layer 2, or does it have to be on Layer 0?
(c) Walkability. This seems pretty straight forward based on some ZQuest experiments I ran, but basically it looks like if I have combos on Layer 0, 1, and 2 (all at the same location), then if at least one of them is unwalkable then overall that spot is unwalkable. So, is it true that if change the walkability of a combo on Layer 0 using ComboS[], that if there is an unwalkable combo above it on Layer 1 or 2, that spot will still be unwalkable?
Anyway, I'm asking because I'm working on a script to adjust walkability on the fly and wanted to know if there was an easier way to do what I want to do. I guess for (c) I can just write a quick script and see what happens, but I wanted a definitive answer from the pros.
(Feel free to shove this over in the Scripting forum if this is too scripty for the general forum...)
Thanks!