Bgdata: Difference between revisions

→‎Contents: add more info about permission checks
imported>Leoetlino
imported>Leoetlino
(→‎Contents: add more info about permission checks)
Line 69: Line 69:
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.
Note: some of the read/write restrictions (IsOneTrigger, IsProgramReadable, IsProgramWritable) are bypassed whenever the "force" argument in read/write TriggerParam functions is true. Some functions enable or disable permission checks explicitly; others follow GameDataMgr's global configuration, which has two sets of TriggerParam parameters. [[AIDef:Action/EventFlagONAction]] always bypasses checks.


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