Skip to content

Conversation

@JoyfulShush
Copy link
Contributor

@JoyfulShush JoyfulShush commented Nov 22, 2025

Adds handling of most script action types that are handled via the script parameter value, showing the appropriate values on the script actions list.

Scripts actions will now show dynamic text, as following:

  • Script actions with a numeric value (waypoint number, cells, etc.) retain their number. e.g. (10).
  • Script actions with preset options now show the selected preset option text. e.g. (Keep Transports, Lose Units)
  • Script actions with a certain handled type, such as local variables, houses, units/structures, animations etc. will now show the appropriate text based on the type. e.g. (GDI), (Game started), (Power Plant - Least threat), etc.
  • Script actions that accept no values (typically shows "Use 0" on the parameter) will now simply show the script action's name, without any additional information. For example: #3 - Deploy.

See below example of script actions in action:
image

Additionally, removes unhandled, unused types for TeamType for Change Team and ScriptType for Change Script. They are both unhandled correctly by WAE, and it serves no real purpose; if it will ever be implemented correctly, can be expanded to support the types.

Copy link
Member

@Rampastring Rampastring left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it'd be useful to still show the number even when showing descriptions. For example, with locals, it's useful to see which number it is, so instead of

Set Local (Waves remaining)

You'd have

Set Local (1 Waves remaining)

or

Set Local (1 - Waves remaining).

@JoyfulShush
Copy link
Contributor Author

Excellent idea. Done. I went with the Set Local (1 - Waves remaining) variant.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants