zcAmazing
05-07-2008, 04:17 PM
I need a simple script. I am trying to make it, but it involves the use of a general purpose script flag and I don't know what function for it.
Here is what I did so far:
ffc script prohibitupdownbtn{
void run(){
while (true){
Link->InputUp = false;
Link->InputDown = false;
Waitframe();
}
}
}
When Link steps on the flag that has that script, it disables particular buttons. The reason I need the script because when combining the Sideview Ladder with the Climbing and the quest is using Diagonal movement, there is a bug in gameplay. When pressing up/left or up/right near the ladder, Link moves down in to the solid and gets compeletely stuck. I want to avoid that bug with the script I am requesting.
Anything I am missing in the script I am trying to make?
Here is what I did so far:
ffc script prohibitupdownbtn{
void run(){
while (true){
Link->InputUp = false;
Link->InputDown = false;
Waitframe();
}
}
}
When Link steps on the flag that has that script, it disables particular buttons. The reason I need the script because when combining the Sideview Ladder with the Climbing and the quest is using Diagonal movement, there is a bug in gameplay. When pressing up/left or up/right near the ladder, Link moves down in to the solid and gets compeletely stuck. I want to avoid that bug with the script I am requesting.
Anything I am missing in the script I am trying to make?