how would i say
?Code:if(x number of combos are a certain combo)
i checked the std.zh to see what was going on there... but i just cant figure out how to mess with combos in scripts.
Printable View
how would i say
?Code:if(x number of combos are a certain combo)
i checked the std.zh to see what was going on there... but i just cant figure out how to mess with combos in scripts.
Start with checking one combo then just add on to that. I believe you want to use ComboAt(). but you should be more specific.
Use it like this:
if(Screen->ComboT[ComboAt(x, y)] == ???){ // stuff
ok thank you =)
and btw, im simplifying that floor puzzle script. it doesent have to be that complex really lol.
sorry for the double post... the edit button absolutely refuses to work for me.
anyway i got one more question.
does Screen-> ComboF[] trigger a flag? or just say its there?
You can check whether a combo has that flag, or give that flag to a combo.
Not tigger though.
Triggering flags isn't too straightforward.
damn... ok can you tell me what i have to do to make it trigger a flag? thats the main part of the script lol
You have to put a Trigger (Sens. Perm) combo underneath Link's feet.
Code:this->Data = whateverthatcomboIDnumberis;
this->X = Link->X; this->Y = Link->Y;
Waitframes(3);
this->Data = 0;
//or
int combo = Screen->ComboT[ComboAt(Link->X,Link->Y)];
Screen->ComboT[ComboAt(Link->X,Link->Y)] = thatcomboIDnumber;
Waitframes(3);
Screen->ComboT[ComboAt(Link->X,Link->Y)] = combo;
wow...
ok the places where you said thatcomboIDnumber, its the ID of the trigger (sens. perm)?
yes
Yeah.
But that triggers all the flags on the screen. Not sure if that's what you want.