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

Lock her eyes in the down position?

Discussion in 'Filled Requests' started by Corgalas, Feb 10, 2015.

  1. Corgalas

    Corgalas Potential Patron

    Joined:
    Feb 11, 2013
    Messages:
    24
    Likes Received:
    6
    Working on a dialogue involving a glory hole type background...
    In the standard game her natural eye position is [LOOK_UP].
    You can use [LOOK_DOWN] to achieve a passable result of looking at his penis, but this is only temporary and she reverts to [LOOK_UP] again before too long.

    My current solution has been to have tons of [LOOK_DOWN] triggers in the dialogue, but this is clunky.

    EDIT:
    Completed by @ModGuy

    EDIT:

    Code:
    /*
        DA look locking.
        Usage:
                [LOOK_LOCK]
                [LOOK_UNLOCK]
    */
    package
    {
        import flash.geom.Point;
        public class Main extends flash.display.MovieClip
        {
            public var lProxy:Class;
            public var loader:*;
            public var her:*;
    
            private var lp:*;
            private var dir:Point;
    
            public function initl(l) : void
            {
                var DA:* = l.getAPI("DialogueActions");
                if(DA == null)
                {
                    l.unloadMod();
                    return;
                }
                DA["registerTrigger"]("LOOK_LOCK", 0, lookLock, this, null);
                DA["registerTrigger"]("LOOK_UNLOCK", 0, lookUnlock, this, null);
    
                l.unloadMod();
            }
            private function lookLock(e:*) : void
            {
                dir = her.currentLookTarget;
                lp = lProxy.createProxy(her, "lookAt");
                lp.hooked = false;
                lp.addPre(lookAt, false);
            }
            private function lookUnlock(e:*) : void
            {
                lp.restoreProxy();
            }
            private function lookAt(p:Point) : void
            {
                lp.original(dir);
            }
        }
    }
     
    Last edited by a moderator: Sep 29, 2016
  2. cwking420

    cwking420 Avid Affiliate

    Joined:
    Sep 17, 2012
    Messages:
    118
    Likes Received:
    2
    I second this. It would be a great tool to use with any Master/Slave Dialogues, or really any dialogue where the women is dominated or ashamed.