PDA

View Full Version : Check if Link is on a combo



Christian
04-30-2009, 01:51 AM
if i wanna check if link is on a combo.

is it like this?



ffc script blah{
void run(int combo){
while(true){
if(Screen->ComboD[ComboAt(Link->X , Link->Y)] == combo){
//do stuff
}//end of if
Waitframe();
}end of while
}end of void run
}//end of script

Joe123
04-30-2009, 03:14 AM
You'd be best off with 'ComboAt(Link->X+8 , Link->Y+8)' instead of just 'ComboAt(Link->X , Link->Y)', but essentially yes.