1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Check for cum on her face?

Discussion in 'Filled Requests' started by smerrebred, Oct 3, 2014.

  1. smerrebred

    smerrebred Potential Patron

    Joined:
    Jun 6, 2013
    Messages:
    4
    Likes Received:
    3
    What is the best (read most efficient, clean) way to check if there is cum on her face?
    I found code floating around doing that in one of MG's old mods however it was pretty unreadable due to shoddy decompilation.
     
  2. ModGuy

    ModGuy Club Regular Content Creator

    Joined:
    Feb 17, 2011
    Messages:
    1,754
    Likes Received:
    21
    Based on:
    http://www.sdtmods.com/index.php?topic=3293.msg42695#msg42695

    Code:
    package flash
    {
        import flash.display.MovieClip;
    
        dynamic public class loader extends MovieClip
        {
            //Auto populating vars.
            public var loader;
            public var g;
            public var her;
            public var Label;
    
            public var lbl;
    
            public function initl(l) : void
            {
                lbl = new Label(100,40 ,"");
                l.addIn(lbl, l.textData);
                l.addEnterFrame(cumOnFace);
                l.unloadMod();
            }
            public function cumOnFace(l) : void
            {
                var sc = g.strandControl.cumStrands;
                var totalFace:int = 0;
                for (var s:int = 0; s< sc.length; s++)
                    for (var ss:int = 0; ss < sc[s].strandLength-1; ss++)
                    {
                        var c = sc[s].collide(ss).container;
                        if(c != null)
                            if(her.head.contains(c))
                                totalFace++;
                    }
                lbl.setLabel(totalFace);
            }
        }
    }