I want change my entities name in game


I save/load this temp system at runtime for now , I using Set/Get Opacity!!! for implement my algorithm.
please bug fix this problem at CE 5.5 Final.
Code: Select all
pEntity->SetName("Fire");
Code: Select all
pEntity->SetName("Fire");
Okay , can you change PhysicalEntity Object names or lEntity Objects names?This method works for me without problem in all Cryengine versions including 5.4 and 5.5.
What's the problem?
I Solved , thank youWell.. I never tried changing names for physics, I just changed it for entity.
But if it does not work, there are other, better solutions for this. If you work with 5.4 then obviously you must be familiar with component system. Each component has its own m_name property just like IEntity. So you can have one entity with multiple names.
But the best.. just create small component that will store names that you want.
Users browsing this forum: No registered users and 1 guest