Jump to content

Recommended Posts

Posted

Hello,

I have problem with SplinePlacement.lua scripts. I trying set road aligned by terrain, but i get next error:
UA call stack:
=[C]:-1 getTerrainHeightAtWorldPos
=C:/Users/aceri/AppData/Local/GIANTS Editor 64bit 10.0.3/scripts/spline placement execute.lua:156
Error: C:/Users/aceri/AppData/Local/GIANTS Editor 64bit 10.0.3/scripts/spline placement execute.lua:181: attempt to perform arithmetic (sub) on nil and number

Placement scripts works great if i set alignbyterrain to false, but it's too large work align manual.

Looks like script not find terrain. How i enter terrain to manually in the scripts?

I trying somenthing like this: local terrain = getChild(36149, "23702");

36149 is map id and 23702 is terrain id, but still i get same error. Any help? I modding this maps: https://www.modhoster.com/mods/empty-16x-map

Posted
3 minutes ago, WrinkleysRule said:

Are you using the latest scripts for FS25 ???

 

 

Maybe not, looks like that i never download that files...so now testing. 

Posted
17 minutes ago, WrinkleysRule said:

Are you using the latest scripts for FS25 ???

 

 

Danke schön, now it's work.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now