gamesalad have a "comment out"?

pjnolenpjnolen Member Posts: 152
edited November -1 in Working with GS (Mac)
Anyway to "comment out" like in programming "//"?

Sometimes i find myself needing to test something without certain attributes or behaviors. Seems it would be handy not to have to delete them, and then recreate them, especially groups.

Comments

  • Fodder76Fodder76 Member Posts: 154
    I also would find this very useful.
  • StormyStudioStormyStudio United KingdomMember Posts: 3,989
    only way to do it at the moment is to create a game attribute, call it something like 'test' make it = 0

    then add a condition to your rule that you want to condition out, so it wont work if 'test' = 0.

    Then after testing delete the extra rule condition
  • ORBZORBZ Member Posts: 1,304
    I just wrap it in a rule: When Game.Time < 0

    That's always false.

    But be aware that extra rules slow down the engine. So just use it for testing. Delete dead code ASAP to avoid slowing down your game with a bunch of dead logic.

    But ya, blocks should have a checkbox, "Disabled" that turns them gray and makes clowns attack you while you sleep.
Sign In or Register to comment.