Driggero Posted December 15, 2013 Share Posted December 15, 2013 Hey everyone. I'm looking for a way to disable a texture that has been applied to an object by engineLoadTXD() and engineImportTXD() without having to turn off the resource. I've checked the wiki and there seems to be no function to actually do this, which is odd. engineRestoreModel() does nothing, trying to import nil as the TXD does nothing. It seems really silly to add a function that does something, without another way of undoing it. Does anyone know a way that this can be done, without restarting or turning off the resource? Would be much appreciated. Link to comment
DNL291 Posted December 15, 2013 Share Posted December 15, 2013 engineRestoreModel should do it, there's no another function that do it (as far as I know). Link to comment
Gallardo9944 Posted December 15, 2013 Share Posted December 15, 2013 why not destroyElement on the variable containing the TXD? Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now