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!
Catch you on Discord — and thanks for understanding!
Notifications
Clear all
Topic starter
11/11/2024 6:13 am
Is there any way to use the NCalc functions if writing JavaScript? I want to use the position based and relative index based functions to iterate through the cars ahead/behind me and get info about them. I tried adding them just to see, but SimHub locks up. The only other approach I can think of is to reference a property that has dedicated properties for each car ahead and behind with string concatenation to dynamically create the property name assuming that'd even work.