Lua Command for Adding Pressure?

  • That-Dude
    9th Jul 2012 Member 0 Permalink

    All the wiki says is:

     

    Sets values on the pressure map, 3 overloads
    tpt.set_pressure(number x, number y)
    tpt.set_pressure(number x, number y, number width, number height)
    tpt.set_pressure(number x, number y, number width, number height, number value)

     

    But what is an "overload"? And how do you add something like 50 pressure to a single pixel?

  • Pilihp64
    9th Jul 2012 Developer 0 Permalink

    You can't add pressure currently, because there is no way to GET the pressure in the first place.

    Overload means different types of arguments (you have all three right there)

  • That-Dude
    9th Jul 2012 Member 0 Permalink

    Ah, I see. Any chance of a command like that to be added any time soon?