Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
local laneDividers = skinvars["lanedividers"]
for i=1,#laneDividers do
The local variables ( specifically in AS2 skin lua ) are kind of unstable, if you have more than one of the same "local" in your script ( in this case you had two "laneDividers" ), it will corrupt the entire script and you have to start a new one, in another word rebuild the skin.
Not an expert here, but I had the same problem when creating my skin, simply remove the other "local" doesn't help, re-work is probably the only way to go. Sorry you had to experience this :(
Side note: If you want two CreateRail() to use the same "local" variable, put them into one "local" like this:
local shoulderLines = skinvars["shoulderlines"]
for i=1,#shoulderLines do
CreateRail{ -- lane line
something
}
CreateRail{ -- lane line
something
}
}
end
Today (09/02/2018), I wanted to try this skin out but I got this Lua script error.
https://i.imgur.com/ENSed6R.jpg
I hope you can get back to me soon with a fix or help me out!
Thanks!
Ixoithaas,
10 of 10