Alienhead Posted April 28 Posted April 28 Seems to be missing - local tbl = terrain:GetLayers(x,y) local matID = terrain:GetLayerMaterial(tbl[1]) log(mat) Quote Alienhead Components and Software
Josh Posted April 28 Posted April 28 It's Terrain:GetLayers() actually. It will return a list-style table with up to four material indexes. Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Alienhead Posted April 28 Author Posted April 28 That I figured out, but I keep erroring on GetLayerMaterial Quote Alienhead Components and Software
Josh Posted April 28 Posted April 28 Adding this now... 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Solution Josh Posted April 29 Solution Posted April 29 The fix is available now. 1 Quote My job is to make tools you love, with the features you want, and performance you can't live without.
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.