Tale of the Cave - a web comic - Updates Monday, Wednesday, Friday
ZC Tutorials - Tutorials and Script Library - Updated July 30, 2008
ZeldaGuard - Corruption in my save files? It's more likely than you think!
I do script requests!
It doesn't work!
Originally Posted by Compile Progress
Ah, cripes. My bad, I forgot a } in the code block. Try it now.
Tale of the Cave - a web comic - Updates Monday, Wednesday, Friday
ZC Tutorials - Tutorials and Script Library - Updated July 30, 2008
ZeldaGuard - Corruption in my save files? It's more likely than you think!
I do script requests!
Still doesn't work.
Did you recopy the script? Or, add the } at the end? I know for a fact this script works.
Tale of the Cave - a web comic - Updates Monday, Wednesday, Friday
ZC Tutorials - Tutorials and Script Library - Updated July 30, 2008
ZeldaGuard - Corruption in my save files? It's more likely than you think!
I do script requests!
Well apparently, you have to put all the scripts in one file. (Which I didn't know.)
pkmnfrk, when going on the ladder with flag 98's for that sideview ladder script while Link has the Hover Boots item, as he goes up, the Hover Boots takes effect repeatedly. As he goes down, he acts flickering funny. Can you add to your script that prohibits the use of Hover Boots when Link is on Flag 98?
Coming Soon - Pendants of the Underworld
Quest for ZC. Only released when ZC 2.5 final is available. ON HIATUS About 88% done. Updated in 5/18/08
Demo Available - For ZC 373
Download
You may need a tool to unzip files, go to www.7-zip.org.
I have college now, worsening the hiatus.
Visit my web pages! Click here.
Yes, I can. But, I just thought about it, and there isn't really any foolproof method of ensuring that Link has the hover boots when he leaves the screen. Consider this:
This code works great as long as Link is on the screen. And, heck, if he leaves the screen while not on a ladder. However, if he leaves via a warp on a ladder (a very common thing one would do), then the last thing it would do is take away his boots, and then the script dies!Code:bool hashover; hashover = Link->Item[I_HOVERBOOTS]; while(true) { //... if(this combo is 98) Link->Item[I_HOVERBOOTS] = false; else Link->Item[I_HOVERBOOTS] = hashover; Waitframe(); }
The only thing I can suggest is disabling the hoverboots on screens with ladders, OR waiting until 2.5+ to get real ladders.
Tale of the Cave - a web comic - Updates Monday, Wednesday, Friday
ZC Tutorials - Tutorials and Script Library - Updated July 30, 2008
ZeldaGuard - Corruption in my save files? It's more likely than you think!
I do script requests!
Or putting flag 98 and that script around the warp destination?
No, that wouldn't work. Look again at my code. It records whether Link has the hover boots or not, and then goes on. In the loop, if Link's on a ladder, it takes away the hover boots. Otherwise, it gives him <whether or not he had them when the loop started>.
So, if he warps away while on a ladder, he won't have the boots. Then, the next copy of th script will check, and see that he doesn't have the boots. Then, it'll give him either no boots, or no boots. Which is the problem.
Now, that said, I suppose I could make this into a global script, which doesn't die with a screen. Let me work on that for a bit...
Tale of the Cave - a web comic - Updates Monday, Wednesday, Friday
ZC Tutorials - Tutorials and Script Library - Updated July 30, 2008
ZeldaGuard - Corruption in my save files? It's more likely than you think!
I do script requests!
There are currently 1 users browsing this thread. (0 members and 1 guests)