Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Emmanuel S
on
Yes I'm sure that the contry Japan is indicate in iRacing and if you watch in data explorer it is indicate - none - so I replace it by internationnal flag ... But it is iRacing wich send this information, ATVO I think just read this variable.

Other way, I decide to do a small script for Australia:
using System;
using ATVO.ThemesSDK;
using ATVO.ThemeEditor.ThemeModels;
using ATVO.ThemeEditor.Scripting.DotNET;

namespace Scripts
{
public class SC_Country : IScript
{
public object Execute(ThemeContentItem item, object value, string parameter, ISimulation sim)
{
if (value == null)
{
      return null;
}
// binding ..... club
var pays = value.ToString();

if (pays == "Australia/NZ")
return "AustraliaNZ";
else

return pays;
}
}
}