Bgdata: Difference between revisions

Jump to navigation Jump to search
254 bytes added ,  5 years ago
imported>Leoetlino
(→‎Contents: IsEventAssociated and IsOneTrigger)
imported>Leoetlino
(One intermediate revision by the same user not shown)
Line 46: Line 46:
| IsEventAssociated || bool || Is associated with an event. If set, GameDataMgr will set the "need gimmick reset" flag (which is ignored in release builds?{{check}}) after any update. Ignored for non-boolean flags{{check}}
| IsEventAssociated || bool || Is associated with an event. If set, GameDataMgr will set the "need gimmick reset" flag (which is ignored in release builds?{{check}}) after any update. Ignored for non-boolean flags{{check}}
|-
|-
| IsOneTrigger || bool || Whether the flag can only be updated once. More specifically: If true, TriggerParam will not allow updates to the flag if its value is different from the initial value.
| IsOneTrigger || bool || Whether the flag can only be updated once. More specifically: If true, TriggerParam will not allow updates to the flag if its value is different from the initial value. Also called "change only once" mode ("一度しか変更しない").
|-
|-
| IsProgramReadable || bool || Whether the flag can be read by the game
| IsProgramReadable || bool || Whether the flag can be read by the game
Line 68: Line 68:


If any key is found, the game will stop parsing the rest of the file.
If any key is found, the game will stop parsing the rest of the file.
Note: some of the read/write restrictions (IsOneTrigger, IsProgramReadable, IsProgramWritable) are bypassed whenever the "force" argument in read/write TriggerParam functions is true.


== Examples ==
== Examples ==
Anonymous user

Navigation menu