Due to increasing spam attacks, forum registrations are currently paused to keep our community safe and spam-free. Come hang out and stay connected with us on the SimHub Discord: https://discord.com/invite/nBBMuX7!

Catch you on Discord — and thanks for understanding!
Some available prop...
 
Notifications
Clear all

Some available properties missing from "Events" source list

2 Posts
2 Users
0 Reactions
1,759 Views
(@gandini)
New Member
Joined: 3 years ago
Posts: 1
Topic starter  

I use a 7-segment Arduino screen with SimHub, and I'd like to create an alert that displays "LAP DLTD" if I exceed track limits in Race Room Exp.

There is a rawdata property called CutTrackWarnings that returns a binary result.

[img] [/img]

The problem is that CutTrackWarnings isn't showing in the Controls & Events section. In fact, I'm not seeing any rawdata properties at all. Is rawdata not usable for event triggers?

[img] [/img]

Or -- is there a way to use nCalc to create an event and trigger? It looks like I only have access to nCalc inside the Arduino "New Screen" dialog as a way to calculate a displayed value. I don't see anywhere to use if() statements to toggle visibility the way you can in Dash Studio.

Ex: if([CutTrackWarnings]=1, DisplayScreenFor1s_LAP DLTD, 0)

 

 

This topic was modified 3 years ago 2 times by Gandini

   
Quote
(@romainrob)
Honorable Member
Joined: 6 years ago
Posts: 530
 

Hi, yes, it's possible to add custom events with an NCalc script:
https://github.com/SHWotever/SimHub/wiki/NCalc-scripting#exporting-event-trigger--exportevent


   
ReplyQuote
Share: