TypeName

Does things like an Asteroid have a TypeName?

Im trying to make the long range scanner more useful, The Red Green Blue bar, and the easiest way is to tidy up the readings.

So Im reducing everything to Zero with a

"for _, obj in ipairs(getAllObjects()) do

obj:setRadarSignatureInfo(0, 0, 0)

if obj:getTypeName() == "Asteroid" then

obj:setRadarSignatureInfo(1.0, 1.0, 1.0)

end

end "

And then go though and set certain things to certain levels.

Comments

Sign In or Register to comment.