MFA File Structure
Docs
Powered by
Powered by
CEvent
What is CEvent?
CEvent is a format that stores conditions and actions for an event, alongside other data.
Structure
Size
Type
Name
Description
2
Int16
Size
The size of the following data, including itself. This number is negated and requires the absolute to be used in it's stead
1
UInt8
Condition Count
The number of conditions used by this event
1
UInt8
Action Count
The number of actions used by this event
2
UInt16
Flags
Definitions
2
UInt16
Unknown
2
UInt16
Unknown
2
UInt16
Unknown
2
UInt16
Unknown
...
CCondition
[]
Conditions
An array of conditions, length is Condition Count
...
CAction
[]
Actions
An array of actions, length is Action Count
Flag Definitions
Flags
Value
Name
Description
0x0001
Once
0x0002
Not Always
0x0004
Repeat
0x0008
No More
0x0010
Shuffle
0x0020
Editor Mark
0x0040
Has Children
Whether or not this event is a parent event with child events under it's wing
0x0080
Break
Whether or not this event is the final child event under it's parent event
0x0100
Break Point
0x0200
Always Clean
0x0400
Or In Group
0x0800
Stop In Group
0x1000
Or Logical
0x2000
Grouped
0x4000
Inactive
0x8000
Has Parent
Whether or not this event has a parent event