Lua Help Thread

  • Jallibad
    4th Jan 2012 Member 0 Permalink
    @mniip (View Post)
    yeah, I had tried that but something else glitched and I had thought that it didn't work, I got it working now though.
  • mniip
    4th Jan 2012 Developer 0 Permalink
    @Jallibad (View Post)
    mhm, maybe there's a mt assigned to it, so it will work another way, but it should work ok
  • kerbal1234
    4th Jan 2012 Member 0 Permalink
    i have a series of questions:
    1: how do i make a dialogue box that asks what you want setfire to be set at, and changes the property accordingly?
    2: how do i make an element like TNT create more pressure?
    3: is it possible to change an elements state?
    i may have more questions soon as they arise.
  • mniip
    4th Jan 2012 Developer 0 Permalink
    @kerbal1234 (View Post)
    1. tpt.setfire(tpt.input('Input fire glow'))
    2. assign a func to it
    3. yeah
  • kerbal1234
    4th Jan 2012 Member 0 Permalink
    @mniip (View Post)
    how would i make something a gas?
  • ForumTroll
    4th Jan 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • kerbal1234
    4th Jan 2012 Member 0 Permalink
    @ForumTroll (View Post)
    using Lua. I'm a super nerd i know all elements exist in every form of matter. And some gasses can be seen. iodine vapour.
  • ForumTroll
    4th Jan 2012 Banned 0 Permalink
    This post is hidden because the user is banned
  • kerbal1234
    4th Jan 2012 Member 0 Permalink
    Me:
    3: is it possible to change an elements state?


    Please answer this soon as it is partially vital to my lua mod. (it still exists but i want the first release to have lots of new features.)
  • mniip
    4th Jan 2012 Developer 0 Permalink
    @kerbal1234 (View Post)
    tpt.el.[...].properties as i remember. im not good at tpt.el