Why I can not change name a PhysicalEntity/lEntity Object at C++ CryEngine 5.4 Final Build 164?

#1
Why I can not change name a PhysicalEntity/lEntity Object at C++ CryEngine 5.4 Final Build 164?

I want change my entities name in game ;-) cause I want implement one system for save/load temp status by entities name :-) this system help me , that , I did not use of Array Structure ... avoid Extra overhead CPU/GPU...

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");
I'm wrong?
C++ Programmer
https://www.youtube.com/AhmadKarami

Re: Why I can not change name a PhysicalEntity/lEntity Object at C++ CryEngine 5.4 Final Build 164?

#4
Well.. 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.
Cryengine tutorial videos on my Youtube channel! Check it out !
https://www.youtube.com/user/MusicForLifePL20

Re: Why I can not change name a PhysicalEntity/lEntity Object at C++ CryEngine 5.4 Final Build 164?

#5
Well.. 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.
I Solved , thank you :-)
C++ Programmer
https://www.youtube.com/AhmadKarami

Who is online

Users browsing this forum: No registered users and 1 guest

cron