2 questions about S...
 
Notifications
Clear all

2 questions about SimHub scripts: speed and shakers

1 Posts
1 Users
0 Likes
406 Views
Elaphe
(@elaphe)
Eminent Member
Joined: 2 years ago
Posts: 18
Topic starter  

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?


   
Quote
Share: