RekkasGit / E3Next

10 stars 19 forks source link

Feature Request: Add Toggle Button Functionality to E3UI #236

Open Pounder00 opened 2 months ago

Pounder00 commented 2 months ago

Description: I'm requesting the addition of toggle button functionality to the E3UI component of E3. Currently, E3UI allows users to create buttons with specific E3 commands, but it lacks the ability to toggle between commands.

Use Case: For example, players frequently need to manage the group's following behavior. The ability to create a single button in E3UI that toggles group following on and off would streamline gameplay and reduce the need for manual input. Additionally, a toggle feature could serve various other useful purposes, such as toggling other in-game actions or behaviors.

Expected Behavior: I envision the toggle feature within E3UI including an option to toggle when editing the button. This would allow users to assign both "/followme" and "/followoff" commands to the same button, toggling between the two commands each time the button is clicked.