Rampastring / WorldAlteringEditor

Map editor for C&C: Red Alert 2, C&C: Tiberian Sun and Dawn of the Tiberium Age.
Other
70 stars 19 forks source link

Add superweapon selector window and superweapon ID param type #177

Open Starkku opened 3 months ago

Starkku commented 3 months ago

Changes superweapon parameter for trigger events & actions to use the window-based selector, as most YR projects tend to have much larger selection of superweapons available which exceeds what the context menu can comfortably show. I was initially going to make this optional and have default behaviour use the context menu still, but I figured that might make the code unnecessarily complicated. If that is preferrable however, I can make it happen.

Additionally added support for superweapon ID (section name) as a parameter type, which is used by one trigger event added by Ares.