MstrGareth
Active Member
I am trying to use the key binding to move forward, then release it after a specified time. The scripting works with "moveforward,release" but I can't seem to get the .net app to stop moving forward.
Since others have movement working in thier .net apps, I imagine I am missing something
Suggestions welcomed.
Since others have movement working in thier .net apps, I imagine I am missing something
Suggestions welcomed.
Code:
public void test()
{
LavishVMAPI.Frame.Lock();
VGE.VG().ExecBinding("MoveForward");
DebugOut("Starting forward");
LavishVMAPI.Frame.Unlock();
Wait(1000);
LavishVMAPI.Frame.Lock();
VGE.VG().ExecBinding("MoveForward,Release");
DebugOut("Stopping forward");
LavishVMAPI.Frame.Unlock();
}