SimHub icon indicating copy to clipboard operation
SimHub copied to clipboard

Dash Studio : how to get the player current race position in track map scripts ?

Open XcellMiguel opened this issue 5 years ago • 2 comments

Hi,

I'm trying to edit player dot colors via functions, to add class color and transparency when players are in the pits.

Thanks to @Romainrob iRacing plugin we have much more informations available so I could do this in the leaderboards thanks to the "repeatindex()" function, but in the map it seams that there's no similar function.

So is there a way to get the player's race position in the script editor in the Map ?

Thanks.

XcellMiguel avatar Oct 18 '20 22:10 XcellMiguel

Hi !

No it's not possible style is global for all opponents. It's not possible to change it for a specific opponent.

Nicolas

SHWotever avatar Oct 19 '20 20:10 SHWotever

Hi,

Ok thanks for your answer.

Indeed if I set a random value every opponent change color at the same time.

Is this something that can be added in a further update ?

Thanks.

XcellMiguel avatar Oct 19 '20 21:10 XcellMiguel

Hi ! I close this issue, it's now possible to assign car classes colours which should cover most cases.

SHWotever avatar Oct 04 '23 16:10 SHWotever