Reply To: get componentVisibleName

Home Forums General Programming get componentVisibleName Reply To: get componentVisibleName

#84703
Possemo
Participant
    • Topics: 14
    • Replies: 638
    • Total: 652
    • ★★★

    Your finding about type() ist interesting.
    getPropertyString seems to do the same thing as getProperty, it probably doesnt matter which one you use. In most cases Lua error messages will tell you when it gets userdata (something like ..got userdata etc..). On the other hand setPropetyString and setPropertyInt seem to do what it’s suposed to do. getPropertyInt works fine too. It will get an integer number which you can do calcualtions with.

    Edit: no getProperty is a bit different. I think it recognizes a number and you will be able to calc with the variable.

    • This reply was modified 5 years, 9 months ago by Possemo.
    Ctrlr