Romek
Super Moderator
- Reaction score
- 963
It seems that Blizzard genuinely intended everything to be done using the GUI editor.
The raw galaxy editor seems to be quite hopeless, and the scripts can't even be easily implemented into the map.
After some looking around, I found that within a library, as well as 'triggers'; 'definitions' and 'functions' could be made, which seem to closely resemble programming methods of sorts.
For example, the 'blank' action definition is the following:
An example of a random complete function:
So they've put GUI and Galaxy into a blender, and we're given the result.
Comments?
Edit I
The raw galaxy editor seems to be quite hopeless, and the scripts can't even be easily implemented into the map.
After some looking around, I found that within a library, as well as 'triggers'; 'definitions' and 'functions' could be made, which seem to closely resemble programming methods of sorts.
For example, the 'blank' action definition is the following:
Trigger:
- UntitledAction001
- Options: Action
- Return Type: void
- Parameters
- Grammar Text: Untitled Action 001()
- Hint Text: (None)
- Custom Script Code
- Local Variables
- Actions
An example of a random complete function:
Trigger:
- TriggerDebugOutput
- Options: Action, Native
- Return Type: void
- Parameters
- type = 1 <DebugMessageType>
- msg <text>
- ui = true <Do_Do_Not_Option>
- Grammar Text: Display ~msg~ as debug output using ~type~, and ~ui|Do/Do Not~ display it in the game window
- Hint Text: (None)
- Custom Script Code
So they've put GUI and Galaxy into a blender, and we're given the result.
Comments?
Edit I