New Console (I Know, But Still!)

  • Schicko
    5th Jun 2011 Member 0 Permalink
    OK, I know this has been asked before, but can you please tell (by tell, I mean explain to) me how to use the LUA Console because I don't understand what the Wiki says. To make it easier, can you please add examples, i.e. for "set temp uran 9999" it will be "...whatever-comes-here..." and please be kind. Thanks in advance.
  • AceOfSpades-
    5th Jun 2011 Member 0 Permalink
    btw temp is tmp (i believe)
    otherwise i cant really help cause i dont know either
  • DCBloodHound
    5th Jun 2011 Member 0 Permalink
    pretty easy (i think)

    The old command for temp was :set temp ''particle'' ''temperature''

    So the new console will be: tpt.set_''particle''(temp, ''temperature'')

    not exactly sure as i have yet to test it out.
  • AceOfSpades-
    5th Jun 2011 Member 0 Permalink
    nah i think its set tmp particle
    set type particle particle
    set life particle
  • vanquish349
    5th Jun 2011 Member 0 Permalink
    @AceOfSpades- (View Post)
    we are talking about the lua console not the old console
  • Schicko
    5th Jun 2011 Member 0 Permalink
    Nah, both of yours' didnae work. @DCBH I put tpt.set"pscn"(9999,"temperature") That didn't work and @AOS I believe that is the old commands, so no that didnae work as well...
  • DCBloodHound
    5th Jun 2011 Member 0 Permalink
    okay,tested it and didn't work.

    property =temp,type etc
    value=numbers
    type=Particle

    i'm going to try and use tpt.set_property(property, value, type)

    so thats going to be: tpt.set_property(''temp'', 9000, ''metl'')

    this should change the temp of the metl,right?


  • Schicko
    5th Jun 2011 Member 0 Permalink
    It said invalid property... Damn those people who know how to work it!!! Why don't they just tell us!!!
  • DCBloodHound
    5th Jun 2011 Member 0 Permalink
    still no luck


    whats does expected near mean?


    Edit:i got it to work :)
  • luciano123
    5th Jun 2011 Member 0 Permalink
    @DCB@DCBloodHound!122605
    the """" are needed?