[1.1.27] Event/property for playing a sound on selection-tool start selection
Posted: Fri Mar 19, 2021 4:57 am
Hi, the built-in selection tools (upgrade planner, blueprint, etc.) will play a sound both when the player begins making a selection, and when the player finishes their selection. I would like to be able to match that functionality when implementing a generic selection-tool. I can play a sound when area selection ends using `on_player_selected_area`, however there is no event or prototype property that will let me play a sound when area selection starts. Can we get a way to do this please?
I propose adding one or both of the following:
I propose adding one or both of the following:
- New event `on_player_begins_selecting_area`
- New SelectionTool prototype properties `selection_start_sound` and `selection_end_sound` (both optional)