Trouble with some decoration properties

  • creator_of_fail
    5th February Member 0 Permalink

    I don't understand how PROP_HOT_GLOW works. Could somebody link a wiki article that could help me? I was trying to test out its effects in the console but there was an error message saying "bad argument #3 to '__newindex' (number expected, got nil)". Could somebody help me?

  • ArolaunTech
    14th February Member 0 Permalink

    What were you trying to type in the console? Anyway if you want a console command, here it is:

     

    elements.property(elem.DEFAULT_PT_[Element name], "Properties", [New value])

     

    The "properties" property has several properties in it, to learn more about them you can see these wiki pages:

    1. https://powdertoy.co.uk/Wiki/W/Element_Properties.html

    2. https://powdertoy.co.uk/Wiki/W/Lua_API:Elements.html 

  • creator_of_fail
    16th February Member 0 Permalink

    I was typing in "tpt.el.[element].properties = PROP_HOT_GLOW"(no quotes).
    I don't get the "[New value]" part, how will it specify which property and which value?