sketchucation logo sketchucation
    • Login
    Oops, your profile's looking a bit empty! To help us tailor your experience, please fill in key details like your SketchUp version, skill level, operating system, and more. Update and save your info on your profile page today!
    🫛 Lightbeans Update | Metallic and Roughness auto-applied in SketchUp 2025+ Download

    IF formulae

    Scheduled Pinned Locked Moved SketchyPhysics
    6 Posts 2 Posters 743 Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H Offline
      hobbnob
      last edited by

      I'm stuck again, is it possible to do this: if var("1")and var("2") are on then set var ("3",0) ????if so then how?

      My WIP Thread:Here

      1 Reply Last reply Reply Quote 0
      • C Offline
        CPhillips
        last edited by

        if(getVar("one")>0 && getVar("two")>0);setVar("three",0);end
        
        1 Reply Last reply Reply Quote 0
        • H Offline
          hobbnob
          last edited by

          thanks chris! works perfectly, I'm making this for an fps with switchavble weapons, i needed this to turn the weapon off when holstered, thanks!!!!!

          My WIP Thread:Here

          1 Reply Last reply Reply Quote 0
          • H Offline
            hobbnob
            last edited by

            another thing: how do i do this: when a joint is at maximum capacity, setvar("one",1)????

            My WIP Thread:Here

            1 Reply Last reply Reply Quote 0
            • C Offline
              CPhillips
              last edited by

              I dont know what you mean by maximum capacity.

              1 Reply Last reply Reply Quote 0
              • H Offline
                hobbnob
                last edited by

                nvm, I've found a way around it by using ontouch

                My WIP Thread:Here

                1 Reply Last reply Reply Quote 0
                • 1 / 1
                • First post
                  Last post
                Buy SketchPlus
                Buy SUbD
                Buy WrapR
                Buy eBook
                Buy Modelur
                Buy Vertex Tools
                Buy SketchCuisine
                Buy FormFonts

                Advertisement