Game Message (Effects) - emd4600/SporeModder-FX GitHub Wiki
The game
component can be used to send messages to the game. Spore uses "messages" to notify certain actions and communicate between different parts of the code. For example, when you click on a skinpaint in the editor, the user interface will just send a message, then the editor will react and do the rest.
The different message types are documented in the ModAPI, but at this moment there aren't any known, useful messages you can send with this effect component.
The game
component is inline, meaning that is is written directly in the effect that uses it. For example:
effect MyEffect
game -id 0xCAFED00D -data 3
end
Keyword: game
-id <id>
The ID of the message sent, this defines how it behaves.
-life <float>
-string <string>
-data <int...>
Additional parameters passed to the message; their usage depends on the specific message. You can include up to four data values.
flags <bitfield>