You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/functions.md
+18Lines changed: 18 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,9 +5,18 @@ nav_order: 40
5
5
---
6
6
7
7
# JavaScript Extensions
8
+
{: .no_toc }
8
9
9
10
The TeamLINQ JavaScript Extensions are a series of functions that replace the native SimHub JavaScript functions in the dash editor, while taking advantage of all of TeamLINQ's features.
10
11
12
+
<detailsmarkdown="block">
13
+
<summary>
14
+
Table of contents
15
+
</summary>
16
+
1. TOC
17
+
{:toc}
18
+
</details>
19
+
11
20
## Download & Usage
12
21
To use these functions, copy the file into your dashboard's `JavascriptExtensions` folder.
13
22
@@ -17,6 +26,7 @@ To use these functions, copy the file into your dashboard's `JavascriptExtension
17
26
18
27
{: .mt-6 }
19
28
### Convert String to TimeSpan
29
+
20
30
```js
21
31
ld_stringToTimespan()
22
32
```
@@ -293,6 +303,14 @@ Returns for the race position the driver's track position, 0.0-1.0 (when availab
293
303
```js
294
304
ld_driverdeltatoplayer(position)
295
305
```
306
+
Returns for the race position the driver's delta to the current player best lap (when available).
307
+
{: .mb-8 }
308
+
309
+
{: .mt-6 }
310
+
### Get Driver Delta To Best
311
+
```js
312
+
ld_driverdeltatobest(position)
313
+
```
296
314
Returns for the race position the driver's delta to the opponent's best lap (when available).
Copy file name to clipboardExpand all lines: docs/index.md
+5-2Lines changed: 5 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,6 +9,9 @@ nav_order: 10
9
9
Create your own Dashboards or Applications using TeamLINQ's SimHub Properties.
10
10
{: .fs-6 .fw-300 }
11
11
12
+
{: .note .green .my-6 }
13
+
**NEW in v3.3.0.0**{: .label .label-green } **TeamLINQ now available on all Team Plans.**{: .text-green-300 } [**Read more.**](/tiers.html)
14
+
12
15
## What is TeamLINQ
13
16
TeamLINQ enables real-time sharing of SimHub telemetry among teammates[^1]. Its intuitive interface makes team racing feel more authentic than ever.
14
17
@@ -45,7 +48,7 @@ The Lovely Plugin introduces a set of new properties which mirror the native Sim
45
48
46
49
{: .important .mt-3 }
47
50
> * Using TeamLINQ is **absolutley free** and **does not require a membership** or **account**. By including it in your projects you can take advantage of the TeamLINQ Property benefits.
48
-
> ***Real-time Telemetry sharing** on the other hand does require a [Team Pro Membership](https://store.lsr.gg/pages/business-solutions-teams-monthly), and it unlocks for all members of the team.
51
+
> ***Real-time Telemetry sharing** on the other hand does require a [Team Membership](https://store.lsr.gg/pages/business-solutions-teams-monthly), and it unlocks for all members of the team.
49
52
50
53
## Calling all Sim Racing Developers
51
54
Your dashboards and applications are already impressive - now take them to the next level by integrating TeamLINQ's properties. Unlock real-time data sharing and transform how teams experience your work.
@@ -68,4 +71,4 @@ All data payloads are optimised, obscured and transferred over a secure connecti
68
71
69
72
---
70
73
71
-
[^1]: **Team Pro Membership Required** - TeamLINQ Real-time telemetry sharing requires a [Team Pro Membership](https://store.lsr.gg/pages/business-solutions-teams-monthly) during the Beta phase. As the product evolves, we will continue evaluating our options for broader access.
0 commit comments