Bas: Difference between revisions

20 bytes added ,  2 years ago
Update EventFlagSelector
No edit summary
(Update EventFlagSelector)
Line 169: Line 169:
|21
|21
|EventFlagSelector
|EventFlagSelector
|Checks whether a GameData flag is true. Its children denote elements to jump to if a flag is true.  A StringArray in the Extend section defines the flags to be checked. Usually 2 flags are checked, but in 1 case only 1 flag is checked.<ref>Npc_Rito_Hearts_BandVisibilityOff.bas</ref> The second string is usually '''default''', as a catch-all for when the flag is false. In a single case, both strings are flags. <ref>UR_M_Teba_Teba_DamageVisibility_On.bas</ref> It's unknown what happens if both are true.
|Checks whether a GameData flag is true. Its children denote elements to jump to if a flag is true.  A StringArray in the Extend section defines the flags to be checked. Usually 2 flags are checked, but in 1 case only 1 flag is checked.<ref>Npc_Rito_Hearts_BandVisibilityOff.bas</ref> The second string is usually '''default''', as a catch-all for when the flag is false. In a single case, both strings are flags. <ref>UR_M_Teba_Teba_DamageVisibility_On.bas</ref> If both are true, the first case evaluated as true will be run.
|Control
|Control
|-
|-
autopatrol
55

edits