BVE WorldWide
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Texture states like object states for texture

Go down

Texture states like object states for texture Empty Texture states like object states for texture

Post by ADbve Mon May 02, 2022 8:02 am

Currently we have ability to change object states using statesfunction.

But i wonder can we make this changing states feature to change only the texture ingame.

I think maybe the code looks like this:

[Texture]
States = car1.b3d
TextureState = tex1.jpg, tex2.jpg
StateFunction = if[pluginstate <10, 1, 0]

I think this texture states change only works for 1 b3d or csv object also the b3d or csv object must have only 1 loadtexture command in it so it mean 1 texture for 1 object.

ADbve

Posts : 72
Join date : 2020-05-14

Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum