Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Copying an action into conditions could add the condition with the action's comparison value. #5650

Open
Bouh opened this issue Sep 10, 2023 · 2 comments

Comments

@Bouh
Copy link
Collaborator

Bouh commented Sep 10, 2023

Description

When working with variables, you always have to look for the condition or action that goes with them.
The idea is to eliminate the need to enter and search for a condition or action.

Solution suggested

The approach would be as follows:

1 - I create a variable action DoorOpen = FALSE
2 - I copy the action into the press paper
3 - In the conditions I want to check that DoorOpen = FALSE, I paste the contents of the press paper which is the action, and it is converted directly into a condition.

This eliminates the need to search condition menus. And saves time entering the variable and its value, since everything is taken from the action.

This applies to variables, but I imagine it could be extended to almost any condition/action.

Alternatives considered

We do it like we always doing it by searching in lists of events.

@Bouh Bouh changed the title Copying a variable action in the condition could add the condition with the comparaison value from the action. Copying an action into conditions could add the condition with the action's comparison value. Sep 10, 2023
@AlexandreSi
Copy link
Collaborator

I've already thought about it. It could even be enabled dragging an action to a condition list (and vice versa) with a visual indicator that the action will be transformed into the corresponding condition.

@RebornOfc
Copy link

RebornOfc commented Sep 11, 2023

There is a problem with that suggestion:

We can copy conditions and actions at the same time by holding shift and selecting multiple.

What would happen if I copy a variable condition and action at the same time, then try to paste it at the condition section? Would it also paste the action as condition, and I would have two duplicated conditions? Would this suggestion only apply if I were holding only actions at the clipboard? Would not it be confusing?

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

No branches or pull requests

3 participants