identifying Entitys
i want to know if my current target was in my target before
so i saved a list of all previous targets but after you change target these dont work anymore ... so is there a way to identify an entity/actor after i changed the target? |
You probably saved references to objects that stopped existing, and the next time they became the target they got assigned a new identity. You would need to save some identifier that does not change over time, but I have no experience with that to suggest one.
|
I did some investigation about this for a recent update to SequenceBars.
If your target is a member of your party (fellowship or raid), the objects you get from GetTarget() remain good as long as people remain in your party. If your target isn't a member of your party, then it will be "forgotten" by the API as soon as you click away. The object's GetName() function will return "". You will no longer be able to assign it to an EntityControl (with SetEntity()). Quote:
|
yeah i cant do it that way because you often have multiple identical mobs in the same fight
ty for the quick answer |
All times are GMT -5. The time now is 09:53 AM. |
vBulletin® - Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
© MMOUI