Jump to content
Thorimus

How to get name of vehicle texture?

Recommended Posts

I'm trying to write a script that involves setting the colour of the praetorian CIWS turret to the "sand" paint-job available in the garage menu.

I understand how setObjectTexture works but can't figure out how to use getObjectTextures. I have a sand coloured CIWS placed down in zeus; what command would I use to see what the name of the texture is so I can incorporate it into my script? the example on the wiki runs fins but doesn't return a hint or anything.

 

EDIT: Problem solved. In the eden editor, when changing a vehicles appearance, there is an "export" button which provides a script which spawns a vehicle of the selected colour.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×