PDA

View Full Version : Eh?



Joe123
10-08-2008, 02:28 PM
ffc script climbing2{
void run(){
while(true){
Waitdraw();
Link->Dir = 0;
Waitframe();
}
}
}

Surely this should ensure that Link is always looking upwards, regardless of whether he is moving?

For some reason, he only seems to face upwards when he has stopped moving...


ffc script climbing2{
void run(){
while(true){
//Waitdraw();
Link->Dir = 0;
Waitframe();
}
}
}

This code produces exactly the same effect as the previous one.
This is a bug, right?

Also,

ffc script climbing2{
void run(){
while(true){
Waitdraw();
Link->InputDown = false;
Waitframe();
}
}
}

Wouldn't this have no effect on when Link can move downwards or not, because the rest of the script waits for all of the rest of ZC's coding to run that frame before it's executed?

Well Link still can't move downwards when you use it....

Saffith
10-08-2008, 02:54 PM
Waitdraw() only works in global scripts.

Joe123
10-08-2008, 05:01 PM
Oh :eek:

Why?