I have a question about materials.
I made a portal, when the character goes in the portal he become invisible.
(you can see in the photo of the blueprint)
i want to reset to the default materials after 10 sec.
(there are few elements that i need to change)
How would we know? You say there are few elements you wish to change. Do those small changes. You know what happened when portal was entered, undo that.
the question is how do I reverse to the original materials. there are 6 characters with 6-15 elements. the blueprint that I did changes all of them at once. if I need to change to the original materials manually it will take 70 nodes…
there is a way to go back to the original without all those nodes and check each character and each element?
.the question is how do I reverse to the original materials. there are 6 characters with 6-15 elements. the blueprint that I did changes all of them at once. if I need to change to the original materials manually it will take 70 nodes…
there is a way to go back to the original without all those nodes and check each character and each element?
Store the originals in an array. Use the array to restore. Besides that, every class can store defaults:
Which you can retrieve. But these are Class defaults, not instance defaults. If you want to store some data, use an array, map, set, data table, any container that is suitable.
Each entity could have a Reset To Defaults function you can call. Only you can tell what qualifies as default, of course.
Hi, I just used get materials and it works
but now I have a different problem maybe you can help me…
when I’m using a the code from function it doesn’t work. I’m adding a shotscreen.
when I’m using the code without the function is working.