PDA

View Full Version : Run Once Flags?



MasterSwordUltima
02-02-2014, 04:03 PM
Do FFCs have any built in flags (bools or ints, doesn't matter)? And if so, what exactly is the process for setting them up (if need be)?

Unless there is another way to have an FFC run exactly once per game file.

Gleeok
02-02-2014, 04:12 PM
No, this is impossible to do!!


...Okay, I lied. You can use either
1) screen D[] variables, or
2) a global variable. (Or a global array)

Either one get's saved in the save file. Personally I would just use a global array if these scripts are sparse.

MasterSwordUltima
02-02-2014, 04:36 PM
Well, as for Boss intro sequences, I suppose the Screen D[] would work. Nice, this will help in a lot of places.

SUCCESSOR
02-02-2014, 05:53 PM
If it has to do with just one screen I usually use Screen->D. It's very useful for keeping track of what's been done on screen. I know a few scripts have used it for screen secrets, locks, a rupee room that remembers what rupees have been picked up, etc.