HOWTO set MMF Object attributes from Lua

Welcome to our brand new Clickteam Community Hub! We hope you will enjoy using the new features, which we will be further expanding in the coming months.

A few features including Passport are unavailable initially whilst we monitor stability of the new platform, we hope to bring these online very soon. Small issues will crop up following the import from our old system, including some message formatting, translation accuracy and other things.

Thank you for your patience whilst we've worked on this and we look forward to more exciting community developments soon!

Clickteam.
  • I upgrade Lua to XLua
    Can someone give me a link to a example how to interact with a existing object from Lua code

    Now I can only call DoCall("MMF function") and there alter attributes of the object
    Call Function: "MMF function"

    I like a example HOWTO see all the object attributes from Lua.


    I like set attributes to existing object like this from Lua code:
    X("Active") = 5
    Set alterable string("Active") = Global String A
    Set vertical size("Edit Box") = 100

    Now I send/DoCall the information to the Event Editor where I change the objects attributes
    I wounder if its possible to set them from the Lua code?

    txt = mmf.Object.GetString ( "CMD" ); -- Can I do something like this from a existing Object?

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!