- Joined
- Dec 10, 2008
- Messages
- 850
I was wondering, is it possible to return the attacking unit and see if its activated the trigger before? An example is appreciated, since I'm not that great.
I reliese I'll probably need a DDD for this to work properly, but I'm not sure how I can check if a unit has activated the trigger before or if its its first time. I think it might be possible by attaching a struct to the unit to detect what number an integer is at, but I don't wanna waste time writing a script that might not work.
I also need to know if its possible to detect that a unit has a passive ability or not, since thats basicly how it works, the unit needs the ability for it to pass the condition.
Thanks in advance to whomever helps me.
I reliese I'll probably need a DDD for this to work properly, but I'm not sure how I can check if a unit has activated the trigger before or if its its first time. I think it might be possible by attaching a struct to the unit to detect what number an integer is at, but I don't wanna waste time writing a script that might not work.
I also need to know if its possible to detect that a unit has a passive ability or not, since thats basicly how it works, the unit needs the ability for it to pass the condition.
Thanks in advance to whomever helps me.