dotNet script: interacting with Event editor

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.
  • Hi, I tried using the dotNet extension for the first time. As a test I thought I'd start with a simple script and trying to make the script interact with the Event editor. But I just can't seem to make it work.
    Here's what I did step by step:
    1-Put a dotNet extension on the frame editor.
    2-Enter the following script:

    Code
    using MMFInterface;
    
    
    class class1
    {
    	public void lolString()
    	{
    		Conditions.CallImmediateCondition("setString",null);
    	}
    }


    3-Add a string object on the Frame editor
    4-Add event:
    +Upon pressing "Enter"
    -call function: class1.lolString with parameters ("")

    5-Add event:
    +InteractedImmediateCondition ("setString")
    -Set String to "lol"

    6-I try start the app and press Enter...and nothing happens. The string doesn't turn into "lol".

    What am I doing wrong?

Participate now!

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