I have a behavior that has a 6 second duration. Using validators I made when the unit moves or is attacked the behavior is disabled. When he stops or leaves combat the timer continues from where it was. I want it to reset the duration timer entirely. How would I do this?
Removing maximum health currently seems to retain the current health the unit had. I want it to retain the percent of health it had instead, how can I do this?
Also, is there a way to detect the health of a caster unit and give that percent of health to a created unit?
I had it at Caster Point. Putting it at Target Point make it spawn in the random offset, but it's spawning at the target. I want it to spawn at the caster.
Got the projectile to spawn, launch missile after delay, and die. I'm having problems with the random offset thing, though. Can someone tell me how precisely to do this?
I tried to do it myself, I really did. But it's too complicated for me. I can't figure it out, so I'd like it if someone could tell me how I'd do it.
I want to make my unit have a weapon that does the following:
Creates an orb (Photon Cannon projectile) at a random angle from the weapon-user a short distance from him (very short, but far enough that they're not touching) that increases in size until it's at full size over 1.5 seconds then launches at the enemy.
The size increase is easy, but it's getting the orb to spawn and fire that I'm having trouble with. I'd appreciate it if someone gave me a detailed guide to doing this. Thanks for considering.
What I want to do is make an effect that creates a unit at a random angle from the caster while at a short fixed distance. Is this possible? If so, how would I accomplish this?
No I didn't want him to hold position, just attack anything he touches instead of chasing stuff he doesn't. The second part worked so far, though. Thanks.
I want it so a unit will only attack another unit when it's in range to attack said unit. I don't want it to go and chase a unit that attacks it or to chase when it's out of range.
0
@DrSuperEvil: Go
And I restate: How?
0
I have a behavior that has a 6 second duration. Using validators I made when the unit moves or is attacked the behavior is disabled. When he stops or leaves combat the timer continues from where it was. I want it to reset the duration timer entirely. How would I do this?
0
Removing maximum health currently seems to retain the current health the unit had. I want it to retain the percent of health it had instead, how can I do this?
Also, is there a way to detect the health of a caster unit and give that percent of health to a created unit?
0
@Kueken531: Go
That worked! Thank you!
0
@Kueken531: Go
I had it at Caster Point. Putting it at Target Point make it spawn in the random offset, but it's spawning at the target. I want it to spawn at the caster.
0
@Kueken531: Go
I've been trying the first option.
That's all I got. What I've been told, I'd assume that's all I need, but it's still only spawning it directly on the caster.
0
Got the projectile to spawn, launch missile after delay, and die. I'm having problems with the random offset thing, though. Can someone tell me how precisely to do this?
0
How do I get the units to use a Launch Missile effect?
0
@peabrain13: Go
No, not even close.
0
I tried to do it myself, I really did. But it's too complicated for me. I can't figure it out, so I'd like it if someone could tell me how I'd do it.
I want to make my unit have a weapon that does the following:
Creates an orb (Photon Cannon projectile) at a random angle from the weapon-user a short distance from him (very short, but far enough that they're not touching) that increases in size until it's at full size over 1.5 seconds then launches at the enemy.
The size increase is easy, but it's getting the orb to spawn and fire that I'm having trouble with. I'd appreciate it if someone gave me a detailed guide to doing this. Thanks for considering.
0
What I want to do is make an effect that creates a unit at a random angle from the caster while at a short fixed distance. Is this possible? If so, how would I accomplish this?
0
@TheAlmaity: Go
No I didn't want him to hold position, just attack anything he touches instead of chasing stuff he doesn't. The second part worked so far, though. Thanks.
0
I want it so a unit will only attack another unit when it's in range to attack said unit. I don't want it to go and chase a unit that attacks it or to chase when it's out of range.
0
@DrSuperEvil: Go
Took your advice with the play forever thing, works now. Thanks for the help.
0
@DrSuperEvil: Go
Could you elaborate? I tried giving the Force Field the Obelisk as a hosting subject, vice versa, and themselves. None of which worked.