Hey, so I'm trying to make a generic building, when owned by a player, apply one of (or both) of the following effects for the player that owns it.
- +x% attack damage for all units
- +x% health for all units
I need to make these buffs temporary (as in, once the building is no longer owned by the player, the effect must go.)
Additionally, I would like to make these stack with one another. So, if you have 2 buildings that each provide a 5% bonus to x, then it will stack to create 10%.
I got a little lost after the first part. I created a new behavior, applied the duration / periodic duration / periods. Attack Buff Pulse does not exist, so I created it.
Under the effect settings for the newly created effect, those settings do not exist. I also double-checked the newly created Building Buff Attack Pulse behavior to see if any of those parameters were there, too; but no luck.
What we're doing is creating a behavior for the structure that periodically applies the attack buff to all of it's allies (within a range of 500... which covers the entire map)
Hey, so I'm trying to make a generic building, when owned by a player, apply one of (or both) of the following effects for the player that owns it.
- +x% attack damage for all units
- +x% health for all units
I need to make these buffs temporary (as in, once the building is no longer owned by the player, the effect must go.)
Additionally, I would like to make these stack with one another. So, if you have 2 buildings that each provide a 5% bonus to x, then it will stack to create 10%.
Any help would be appreciated. Thanks!
@Likai31197: Go
Easy. Make the following:
Create a similar set of behaviors/effects for the health buff but a different behavior modification ofc.
@PirateArcade | I make games | Ask me things on Discord
Hey, thanks for responding!.
I got a little lost after the first part. I created a new behavior, applied the duration / periodic duration / periods. Attack Buff Pulse does not exist, so I created it.
Under the effect settings for the newly created effect, those settings do not exist. I also double-checked the newly created Building Buff Attack Pulse behavior to see if any of those parameters were there, too; but no luck.
What am I doing wrong?
@Likai31197: Go
You have to create a total of 4 new things.
What we're doing is creating a behavior for the structure that periodically applies the attack buff to all of it's allies (within a range of 500... which covers the entire map)
@PirateArcade | I make games | Ask me things on Discord
Thank you very much! I had to play around a bit to get it to work (I'm pretty new to the editor), but it's working perfectly now.
I couldn't have done this without your help. I appreciate it! +rep