Hi everyone. I want to put an ability in my map that fires a beam in the form of a collision missile, in other words, the beam continues in a direction until it detects the unit, then damages the unit and stops. I have been using wingednosering's tutorial here, and as far as I can tell I did everything it said exactly (with the exception of using my own choice of model and names). After making all the effects, I made an ability, and set its effect to the create persistent at start of the effect chain. The problem is, this ability only works once... period. Every single time I cast it after the first time that it works, it does NOTHING. No damage, no visual, no sound. I am absolutely flabbergasted and have no idea why this is happening. In fact, I even created another effect chain (with different names) following the tutorial again, this time with even more attention to detail, and the second ability won't even work once!
If anyone has any idea whats going on here or can give me a nudge in the right direction somehow, that would be fantastic.
Update: After unflagging "hidden" on the contact behavior, I discovered that the behavior was not being removed properly. After a lot of trial and error messing with various maximum counts and other such fields on my remove behavior, periodic and set effects, I finally got it to work every time that a target is in the line. However, the beam still does not show up when there is no target available.
Fraid I've never encountered that sort of situation before, but could I recommend to help trouble shoot by swapping out the effect in the ability with something else that targets in the same manner and seeing if that will at least work more then once? It'd just rule out to whether or not its related to the effect getting jammed up some how or the its the ability's setup at fault.
@BumpInTheNight:
Got the first problem solved (see my update) and as for the second problem, I'm pretty sure thats just because I didn't read the part about "miss actors" clearly enough, so when I have more time later today I'm going to redo that part, and hopefully it will all work out.
After careful analysis, it appears that for some reason, my persistent does not expire. When I put my Shoot (Set) which contains the damage dummy as well as the remove behavior, as Effect - Effect - Expire, it doesn't work. It only works when I put it in the Effect - Effect - Final field. Even then, the "miss actor" still isn't working, so if there is no valid target in the line, nothing happens.
Period durations is set at .08 and so effect - expire delay is set at .081, just like the tutorial recommended. So why would my effect not be expiring?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
@Nahotnoj: Go
Fraid I've never encountered that sort of situation before, but could I recommend to help trouble shoot by swapping out the effect in the ability with something else that targets in the same manner and seeing if that will at least work more then once? It'd just rule out to whether or not its related to the effect getting jammed up some how or the its the ability's setup at fault.