User Tag List

Results 1 to 2 of 2

Thread: Xlua : Problem with MMFI

  1. #1
    No Products Registered

    Join Date
    Mar 2011
    Posts
    110
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Xlua : Problem with MMFI

    Hello.

    I'm trying to use the Xlua extension to write a small script that makes an object disappear gradually thanks to the manipulation of the semi-transparency coefficient ,but I don't really understand how MMFI works...

    Here's the script :
    http://pastebin.com/4X4xnMNB

    So far, it works but when it comes to the modification of the coefficient it doesn't work anymore. Trying to assign a value to obj.inkCoef makes the obj.inkEffect line useless since it's not transparent anymore. :/

    Could someone tells me what I should do to make it working ?

    Thanks in advance for your help

  2. #2
    Clicker Multimedia Fusion 2
    Retriever2's Avatar
    Join Date
    Jun 2006
    Location
    United States
    Posts
    502
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Re: Xlua : Problem with MMFI

    Sorry for a late response; I have been on vacation.

    I could not reproduce your problem. Make sure you have the latest copy of mmfi.dll.

    Code:
    package.cpath = "./?.dll;./ext/?.dll"
    
    require "mmfi"
    
    function dim ()
    	local act = mmf.newObject(1)
    	act.inkEffect = mmf.INK_SEMI
    	act.inkCoef = 64
    end
    Calling dim results in a half-transparent object.

Similar Threads

  1. XLua Coroutine problem
    By casleziro in forum Multimedia Fusion 2 - Technical Support
    Replies: 3
    Last Post: 29th March 2013, 06:34 PM
  2. Qualifiers with new MMFI?
    By SolarB in forum Lua Scripting
    Replies: 2
    Last Post: 23rd July 2012, 05:04 PM
  3. xlua mmfi...
    By Zode in forum Multimedia Fusion 2 - Technical Support
    Replies: 0
    Last Post: 28th November 2011, 02:00 PM
  4. XLua MMFI help
    By Sheexy in forum Multimedia Fusion 2 - Technical Support
    Replies: 2
    Last Post: 26th April 2011, 06:06 PM
  5. Setting Up MMFI
    By astrospoon in forum Lua Scripting
    Replies: 2
    Last Post: 26th May 2010, 01:06 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
  •