This might seem complicated so ill start with an exemple:
Let's say i make an item that is similar to, let's say, overwatch's lucio passive speed boost. Where it gives rapidly short lasting speed powerups to surrounding allies. But the same game also has a speed boost pickup that gives superior speed boost.
If both are received at the same time what happens? The more powerful one takes effect over the other one? the last received one over rides the other? they stack?
Just thought on asking so it avoid some trials and errors that ends up giving absolutely nothing.
[DECORATE] Powerups over riding/stacking?
- FranckyFox2468
- Forum Regular
- Posts: 180
- Joined: Sat May 07, 2016 8:30 pm
[DECORATE] Re: Powerups over riding/stacking?
This can be answered with a simple test:
Then give yourself these actors one at a time with the console. The answer is powerups can indeed stack, but only if they are different actors. Giving yourself Speedy twice will just refresh the duration of your Speedy powerup.
Code: Select all
actor Speedy : PowerSpeed
{
speed 2.0
}
actor BiggerSpeedy : PowerSpeed
{
speed 2.5
}
- FranckyFox2468
- Forum Regular
- Posts: 180
- Joined: Sat May 07, 2016 8:30 pm
[DECORATE] Re: Powerups over riding/stacking?
alright thanks!