2 question about SimHub scripts: speed and shakers

Hello. I have this script to trigger an action when I stay in pits for too long:

trigger=if([DataCorePlugin.GameRunning]=1 && [DataCorePlugin.GameData.NewData.IsInPitSince]>30,1,0)

I would like to change this and make the action trigger whenever your car isn't moving for a long time anywhere on the track.

I could use:

[DataCorePlugin.GameData.NewData.SpeedKmh]=0

... but how do I make the timer for the period the car is still?

Another different issue is that I'm using hotkeys to control the global gain of my shakers. However, is there any way to have in indication on screen (VR) of the current or selected global gain?
 

Latest News

How are you going to watch 24 hours of Le Mans

  • On national tv

    Votes: 252 34.2%
  • Eurosport app/website

    Votes: 199 27.0%
  • WEC app/website

    Votes: 139 18.9%
  • Watch party

    Votes: 60 8.2%
  • At a friends house

    Votes: 18 2.4%
  • At Le Mans

    Votes: 68 9.2%
Back
Top