Lua Particle Create

  • Download
    25th Jun 2011 Member 0 Permalink
    Can someone help me with lua in the console? I need the following answered:
    tpt.create(number x, number y, string type)
    Every time I enter this (coords exchanged) it would create dust. How would I make the element output different?
    Next, when making a lua file to run in the console, should each line end in a certain way?
    And please do not say the wiki. It's hard to understand with the jumble of stuff there. Thanks!
  • mniip
    25th Jun 2011 Developer 0 Permalink
    tpt.create(100,200,"deut")
    whats wrong? creates deut
  • Download
    25th Jun 2011 Member 0 Permalink
    Oh.. Forgot to add the " to the ends. What about my next question?
  • mniip
    25th Jun 2011 Developer 0 Permalink
    wut u directly
    need?
  • Download
    25th Jun 2011 Member 0 Permalink
    Do I need to end each line of LUA with something? A file to run in the console, can it just list commands one after another?
  • MasterMind555
    25th Jun 2011 Member 0 Permalink
    @Download (View Post)
    dofile("file.lua")

    And it's Lua, not LUA
    Edited by MasterMind555, 2011-06-23 19:31:42
  • Download
    25th Jun 2011 Member 0 Permalink
    *facepalm*
    Re-read my question.
  • ief015
    25th Jun 2011 Former Staff 0 Permalink
    Nope. It is legal to end each like with a semicolon ' ; ' but it is not required.