PDA

View Full Version : this->number?



Joe123
04-25-2008, 06:49 PM
So, 'this' references the script's ffc.

Is there any way of returning what number ffc that is though?
It'd be really useful.

beefster09
04-26-2008, 12:27 AM
Try this:


int ffcNum(ffc val) {
for(int i=1;i<=32;i++) {
if(val==Screen->LoadFFC(i))
return i;
}
}

Joe123
04-27-2008, 06:41 PM
Oooh, that's really interesting.
I'll try it and see what happens.

Thanks =)

I thought something like that might work, but I wasn't really sure how to go about doing it.