|
CachedEntity.IsTargetingMe partially broken
|
03-09-2010 07:01 PM
|
|
|
|
CachedEntity.IsTargetingMe partially broken
When being targeted by multiple entities, only the first entity to target you is returning TRUE for CachedEntity.IsTargetingMe. As you kill them, different entities return TRUE for CachedEntity.IsTargetingMe but still only one is actually returning true for IsTargetingMe.
Tested in an asteroid belt with multiple rats. To reproduce, wait at a belt for rats to spawn and attack you. Use a modified CachedEntity test case to echo out any rats that are reporting true for IsTargetingMe. Note that there is only one result no matter how many rats are actually targeting you.
|
|
|
Issue Details
|
|
Category broken feature(s)
Status Awaiting Feedback
Priority 5 - Medium
Affected Version Unknown
Fixed Version (none)
Users able to reproduce bug
0
Users unable to reproduce bug
0
Assigned Users
(none)
Tags
(none)
|
|
04-04-2010 04:24 PM
|
|
|
|
Does this same bug happen with Entity.IsTargetingMe?
|
04-04-2010 06:26 PM
|
|
|
|
No idea. I avoid using Entity when I can because of how ridiculously expensive it is. If it matters, getting the list of Entities targeting me works.
|
04-04-2010 06:58 PM
|
|
|
|
You confused me. You said initially "no idea", then at the end of your posting said "getting the list of Entities targeting me works".
I need to know if it's broken just with cachedentities or with both cachedentities and regular entities.
|
04-04-2010 07:11 PM
|
|
|
|
I don't iterate entities and check IsTargetingMe. I use the method that returns a list of entities targeting me, which I'm guessing uses the same check IsTargetingMe does. If it does, then Entity.IsTargetingMe is working fine. If not, inconclusive.
|
All times are GMT -7. The time now is 09:42 PM.