I would like to change a unit's texture during the game, and I would like to do it using Triggers.
I'm trying to send an actor message to the actor of the unit and I thought that "TextureSelectById" was the message used to change texture but it doesn't seem to work.
Have you set up multiple textures for the unit's model data? I think one can only select textures that are declared at compile time in the actor's model data.
If the fields are upgradable then catalog natives can be used to dynamically modify them. This works well as long as not used excessively as it seems there is a minor memory leak related to this.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Hello,
I would like to change a unit's texture during the game, and I would like to do it using Triggers.
I'm trying to send an actor message to the actor of the unit and I thought that "TextureSelectById" was the message used to change texture but it doesn't seem to work.
Any suggestions?
Thanks!
Have you set up multiple textures for the unit's model data? I think one can only select textures that are declared at compile time in the actor's model data.
Ah ok thanks... then that would be very hard to do what I want
I wanted to change all units textures using triggers, If I have to add multiples textures for each units in the game, that's painful :P
Thanks for the response. I won't be using this then.
If the fields are upgradable then catalog natives can be used to dynamically modify them. This works well as long as not used excessively as it seems there is a minor memory leak related to this.