Menu
Login
Language
DE EN FR ES IT CZ
Back

comment or temporary disable action parts

  • #1, by vanoak Tuesday, 05. December 2017, 02:26 8 years ago Quote
    Hello,

    I need to review parts of an action and it would be way easier if I could mute some of them. Is there an option for that?

    Thank you!

    Newbie

    26 Posts

  • #2, by Machtnix Tuesday, 05. December 2017, 04:31 8 years ago Quote
    I think there is no option, because there isn't a comment or mute function in the action part. Only in Lua you can.

    I have a simple trick: I use an impossible if-clause to activate or disable an action. If I want to test it I set a dummy value or a condition to true (and if neccessary) set another or the same value to false -  depends on how many parts you have.
    x = 1
    if x == 1 then
     do action
    end

    Setting the value to 0, the action won't start.

    OK, it's not very comfortable, but you have only to switch between some values or have to edit a few lines.

    I use 4.2.5. No idea, if R5 has a comment or mute option.

    Thread Captain

    1098 Posts

  • #3, by afrlme Tuesday, 05. December 2017, 12:22 8 years ago Quote
    I use 4.2.5. No idea, if R5 has a comment or mute option.
    Nope it doesn't. Machtnix solution is very valid. It's what I woud have suggested myself. Create a single value or condition & wrap any actions you don't want to be triggered with that or duplicate the action block & delete the actions you don't want to be executed & set the original action block to be a called by other type to disable it.

    Imperator

    7290 Posts

  • #4, by vanoak Thursday, 07. December 2017, 12:29 8 years ago Quote
    Oh, I see. I will do that.

    Thanks!

    Newbie

    26 Posts