Ncalc Help
 
Notifications
Clear all

Ncalc Help

1 Posts
1 Users
0 Reactions
2,576 Views
(@swissgunner)
New Member
Joined: 5 years ago
Posts: 2
Topic starter  

Hey Community

 

I need help in understanding the ncalc function for dashbaords.

 

Game: AssettoCorsa

I would like to have a flag and a notification when we send out the Safety Car. i have a grid with 4cars, and the "gt4 bmw m4" is our saftey car.

So, i guess i need a script with a double "if" instruction. 

for example: Show the flag/notification when: a unique car name "gt4 bmw m4" and this specific carname is ON the track.

 

[GarySwallowDataPlugin.Leaderboard.Position01.InPitBox] is "1" - this car stays in the box

[GarySwallowDataPlugin.Leaderboard.Position02.InPitBox] is "0"

[GarySwallowDataPlugin.Leaderboard.Position03.InPitBox] is "0"

[GarySwallowDataPlugin.Leaderboard.Position04.InPitBox] is "0"

 

[GarySwallowDataPlugin.Leaderboard.Position01.CarName] is "R8 gt4"

[GarySwallowDataPlugin.Leaderboard.Position02.CarName] is "ford gt4"

[GarySwallowDataPlugin.Leaderboard.Position03.CarName] is "cayman gt4"

[GarySwallowDataPlugin.Leaderboard.Position04.CarName] is "gt4 bmw m4"

 

The "r8 gt4" is in the box, car 2 and 3 are on track but both have the wrong carname, Leaderboardposition 4 ist out of the box and has the right carname = Flag and notification is "ON".

 

 

Any help?

Just need an input for the scripting section, the other stuff should be ok 😉

 

 

Thanks...!!!

This topic was modified 5 years ago by swissgunner

   
Quote
Share: