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:
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: