20,473
edits
(explained flags; added Events section) |
m (pointing to TRIG if the reader wants to see what a 2-byte int event looks like) |
||
| Line 68: | Line 68: | ||
This allows all sorts of odd combinations, e.g. a trigger laser could activate another trigger laser or unlock a door, but Oni never does anything that unusual in the vanilla game data. | This allows all sorts of odd combinations, e.g. a trigger laser could activate another trigger laser or unlock a door, but Oni never does anything that unusual in the vanilla game data. | ||
The data size of the parameter assigned to each of these events is a 2-byte int, except for "call script function" which provides space for a 32-byte string. | The data size of the parameter assigned to each of these events is a 2-byte int, except for "call script function" which provides space for a 32-byte string. See [[OBD:BINA/OBJC/TRIG]] for an example of an event with a 2-byte int parameter. | ||
;Tool Mode dialog | ;Tool Mode dialog | ||