Console tricks

  • boxmein
    5th Aug 2012 Former Staff 0 Permalink
    @ThunderSt (View Post)
    I doubt that.
  • baky123
    3rd Jun 2014 Member 1 Permalink

    @boxmein (View Post)

     The link has now moved to https://github.com/simtr/The-Powder-Toy/blob/c4dcb37de40eda86871ba4e0992877528a208e39/src/simulation/Elements.h

    (at least I think that is the correct link (I have tested it))

    Now someone is going to call necro

    Edited once by baky123. Last: 28th Oct 2014
  • Aperitus
    11th Dec 2023 Member 0 Permalink

    I dont know theese fancy complicated consle commands are can someone tell me?

  • MeltedGamezz
    21st January Member 0 Permalink

    I have a quick question:

     

    I  use the array style to assign properties for my element, which looks like this:

     

     

    local Element = elem.allocate("MOD", "ELEM1")

    elem.element(Element, {

    Name = "ELEM1",

    Description = "Custom Element",

    Color = 0xFF0000

     

    When I tried to use the "Properties" property in this, I got an error. Is there a way that I can use the properties property in the array style?

  • jacob1
    21st January Developer 0 Permalink
    @MeltedGamezz (View Post)
    elem.property and elem.element do the same thing, just, property takes one property and element takes multiple properties in an array. If you've enlightened yourself about elem.element and arrays, I'd say don't look back. Use it for everything.