User Tag List

Results 1 to 4 of 4

Thread: dotNet script: interacting with Event editor

  1. #1
    Clicker Multimedia Fusion 2

    Join Date
    Jan 2007
    Posts
    167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    dotNet script: interacting with Event editor

    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?

  2. #2
    No Products Registered

    Join Date
    Jun 2006
    Posts
    625
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: dotNet script: interacting with Event editor

    I guess you have no class1 object created. You can specify an object to be created on startup, or make class1 static if i'm not mistaken

  3. #3
    Clicker Multimedia Fusion 2

    Join Date
    Jan 2007
    Posts
    167
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: dotNet script: interacting with Event editor

    Ahh, I see. I missed that. Thanks a lot.

  4. #4
    No Products Registered

    Join Date
    Mar 2015
    Posts
    8
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Manual .Net MMF2 dotNetScript: "www.4shared.com/file/1bXpHLLgba/Manual_Net_MMF2_-_dotNetScript.html?"

Similar Threads

  1. DotNet Script Extension
    By nivram in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 9th December 2013, 06:08 PM
  2. Replies: 3
    Last Post: 14th October 2013, 12:54 PM
  3. [Request] Synced Event Editor + Event List Editor
    By Tiles in forum Multimedia Fusion 2 - Technical Support
    Replies: 5
    Last Post: 20th March 2008, 07:44 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •