Author Topic: HAI - TurnOnFlagForDuration  (Read 1941 times)

Paul_Sharrock

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
HAI - TurnOnFlagForDuration
« on: September 20, 2011, 01:34:41 am »
For consistancy can you please add a TurnOnFlagForDuration call, so that flag numbers can be passed to the call.

At present the TurnOnLightForDuration works, but it makes it non consistant when the rest of the script is using SetFlagLevel, and TurnOff and TurnOn Flags.

At present the script look likes this:-
        if (vars.omnijandyaux01fountains ==1)
   omni.TurnOnLightForDuration(429, new TimeSpan(0, 0, 30, 0, 0));
        else
   omni.TurnOffFlag( 37 );

It would be nice if there was an option to run all the timers from within the HAI Omnipro, instead of within ELVE.

Paul
« Last Edit: September 20, 2011, 01:59:28 am by Paul_Sharrock »

Paul_Sharrock

  • Jr. Member
  • **
  • Posts: 75
    • View Profile
Re: HAI - TurnOnFlagForDuration
« Reply #1 on: October 12, 2011, 12:07:29 pm »
John

Just to let you know I have added this functionality in V1.1 of the Omnipro driver.

Paul

John Hughes

  • Administrator
  • Hero Member
  • *****
  • Posts: 2852
    • View Profile
    • Codecore Technologies
Re: HAI - TurnOnFlagForDuration
« Reply #2 on: October 12, 2011, 03:08:51 pm »
You are on a roll! :)
John Hughes
Codecore Technologies