comment or temporary disable action parts

  • #1, by vanoakTuesday, 05. December 2017, 02:26 3 years ago
    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 MachtnixTuesday, 05. December 2017, 04:31 3 years ago
    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

    1087 Posts

  • #3, by afrlmeTuesday, 05. December 2017, 12:22 3 years ago
    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

    6842 Posts

  • #4, by vanoakThursday, 07. December 2017, 12:29 3 years ago
    Oh, I see. I will do that.

    Thanks!

    Newbie

    26 Posts

Write post