Marsmallos
Member
- Reaction score
- 17
Thread title might be a bit wierd, but I'll explain it
In my map there will be 10 players, and each player will control one hero. The players will fight different bosses and one of the bosses will at a certain interval (45 seconds) use an ability called Siphon Soul on a random hero.
The ability works like it is supposed to, but I also want to add some cosmetic lightning effects to the ability (effects that wont do anything except making the ability look cooler).
The effect will look like the boss is "draining" the target of Siphon Soul using some sort of lightning effect, and the draining will go on until the boss casts Siphon Soul on another hero (that is to say, the lightning effect will connect the boss and the hero for about 45 seconds) who then will have "draining" lightning effect instead.
Example
-Boss casts Siphon Soul on Hero 1
-Hero 1 and Boss are connected to each other with lightning effect for 45 seconds, they can move around and cast spells etc freely and the lightning effect connects them all the time.
-Boss casts Sihpon Soul on Hero 2
-The link between Hero 1 and Boss is broken
-Hero 2 and Boss are connected with the lightning instead
I tried making a picture in paint and hopefully it will help you understand what I mean (I am aware that I sometimes explains a bit fuzzy )
The black dot in the middle is the boss, the other black dot is the drained (Siphon Soul-ed) hero, the red line represents the lightning effect connecting the two together, and the blue arrow shows that the hero can move around and the lightning effect moving with him.
However I have NO idea how to do this, I tried triggering the lightning effect moving around using periodic (0.5 sec) events but it looked very choppy and my way of triggering involved creating and destroying a lot of points, and eventually made the game suddenly crash without any building-up lag or anything.
Anyone got any ideas on how to do this? +rep will be awarded
In my map there will be 10 players, and each player will control one hero. The players will fight different bosses and one of the bosses will at a certain interval (45 seconds) use an ability called Siphon Soul on a random hero.
The ability works like it is supposed to, but I also want to add some cosmetic lightning effects to the ability (effects that wont do anything except making the ability look cooler).
The effect will look like the boss is "draining" the target of Siphon Soul using some sort of lightning effect, and the draining will go on until the boss casts Siphon Soul on another hero (that is to say, the lightning effect will connect the boss and the hero for about 45 seconds) who then will have "draining" lightning effect instead.
Example
-Boss casts Siphon Soul on Hero 1
-Hero 1 and Boss are connected to each other with lightning effect for 45 seconds, they can move around and cast spells etc freely and the lightning effect connects them all the time.
-Boss casts Sihpon Soul on Hero 2
-The link between Hero 1 and Boss is broken
-Hero 2 and Boss are connected with the lightning instead
I tried making a picture in paint and hopefully it will help you understand what I mean (I am aware that I sometimes explains a bit fuzzy )
The black dot in the middle is the boss, the other black dot is the drained (Siphon Soul-ed) hero, the red line represents the lightning effect connecting the two together, and the blue arrow shows that the hero can move around and the lightning effect moving with him.
However I have NO idea how to do this, I tried triggering the lightning effect moving around using periodic (0.5 sec) events but it looked very choppy and my way of triggering involved creating and destroying a lot of points, and eventually made the game suddenly crash without any building-up lag or anything.
Anyone got any ideas on how to do this? +rep will be awarded