[HELP REQUEST]Giving Goggles 'tracker' ability
questions about LUA coding...
First off, I know that others are working on this and I'm just trying to learn more about modding and this seems like a fun thing to try and do.
Second, I'm taking Morpheus' Goggles as a base (vision +12, +5 HP Regen, +10% mv)
Question:
I've thought about this a lot and I'm thinking that the easiest way to target all enemy demi's for the effect to work is to make an "aura" that has all enemy demis as a target and that has infinite range. Would the following lines accomplish those settings:
- AbilityType = 'Aura', -- This in combo with AffectRadius = -1 = the whole map?
- TargetAlliance = 'Enemy', -- ensures only enemy are tracked
- TargetCategory = 'HERO - UNTARGETABLE', -- ensure that only heros are tracked
- AffectRadius = -1, -- infinite radius... whole map
- AuraPulseTime = 2, -- What does this do??
This is in the AbilityBlueprint section. I'm just not sure about the AffectRadius = -1 I'm wondering if that will make the effective range the whole map... I would prefer to not hardcode a number that is huge... it just doesn't feel as elegant and it would be prone to bugs if people make HUGE maps some day.
Anoyone out there have any comments on my questions?
Thanks for helping get better.