Is there any way to get the creator of an AoE from an AoE object? Or get the effect that created the AoE object in the first place (so I can grab the creator from it)?
I'm also not sure if the engine tagged a creator to the AoE object's variables, nor do I know which var set it uses. Any pointer would be greatly appreciated!
Get AoE creator/effect from AoE object
Débuté par
SuperD-710
, janv. 18 2010 03:49
#1
Posté 18 janvier 2010 - 03:49
#2
Posté 18 janvier 2010 - 10:28
You can get the creator if you handle an event that is triggered by an AOE object like EVENT_TYPE_ENTER or EVENT_TYPE_AOE_HEARTBEAT. But the creator doesn't seems to be stored in the AOE object itself.
It depends where your AOE object comes from. How did you get this AOE object ? Is it OBJECT_SELF in the AOE event handler or something else ?
It depends where your AOE object comes from. How did you get this AOE object ? Is it OBJECT_SELF in the AOE event handler or something else ?
#3
Posté 19 janvier 2010 - 05:47
It's passed from another function, in which the object was grabbed from GetObjectInShape(). Dealing with some AoE combos. So I guess there's no way to check for creator for AoE objects... Will have to think of another approach.
#4
Posté 19 janvier 2010 - 07:01
The only get creator functions I know of are for effects or events, not objects.





Retour en haut






