I have created an ability that applys a buff to a building. The buff itself applys a second buff to the building. But the second buff never gets added to the building!
I have an ability that targets the building.
The first effect is "apply behaviour 1"
The behaviour has an periodic effect "apply behaviour 2", but the second buff never gets added.
I have uploaded a map here. I use the Orbital command - Supply drop ability as the test.
What is wrong?
(Updated the map with the stuff the posters below say. Still not work. Buff #2 is not added.)
There is a bug where a buff uses the initial effect to apply a second buff the second one fails to register. Use a Create Persistent effect as a delay for 0.016 secs to overcome this.
Rollback Post to RevisionRollBack
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
I've never seen or heard of that bug and I never use Persistents unless I want to play with multiple points.
Eitherway, I fixed it all in the original post. Too bad I got to see an updated version of the Queue_Buff map and not the original(I download and it has the Create Persistent effect).
Hmm, I was the one who suggested -1 duration, because it IS a permanent duration. I did however just test 0 and that too is negative. Eitherway, -1 or 0 duration both work for what it was needed for.
He needed it for the above thread, which I fixed up right and proper.
I have created an ability that applys a buff to a building. The buff itself applys a second buff to the building. But the second buff never gets added to the building!
I have an ability that targets the building. The first effect is "apply behaviour 1" The behaviour has an periodic effect "apply behaviour 2", but the second buff never gets added.
I have uploaded a map here. I use the Orbital command - Supply drop ability as the test.
What is wrong?
(Updated the map with the stuff the posters below say. Still not work. Buff #2 is not added.)
@Kabelkorven: Go
Alright, here we go.
Since I don't know what you are trying to accomplish, I can't help further.
There is a bug where a buff uses the initial effect to apply a second buff the second one fails to register. Use a Create Persistent effect as a delay for 0.016 secs to overcome this.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg
@DrSuperEvil: Go
I've never seen or heard of that bug and I never use Persistents unless I want to play with multiple points.
Eitherway, I fixed it all in the original post. Too bad I got to see an updated version of the Queue_Buff map and not the original(I download and it has the Create Persistent effect).
Original Post - http://www.sc2mapster.com/forums/development/data/33902-make-a-building-temporarily-have-longer-queue/#p11
@_Syntaxerror: Go
Hmm, I was the one who suggested -1 duration, because it IS a permanent duration. I did however just test 0 and that too is negative. Eitherway, -1 or 0 duration both work for what it was needed for.
He needed it for the above thread, which I fixed up right and proper.
@BorgDragon: Go
Even the colossus weapon uses one as a delay. It basicly uses the expire effect after a set amount of time.
Maybe the bug only happens with self propagating buffs but it is known to happen.
Contribute to the wiki (Wiki button at top of page) Considered easy altering of the unit textures?
https://www.sc2mapster.com/forums/resources/tutorials/179654-data-actor-events-message-texture-select-by-id
https://media.forgecdn.net/attachments/187/40/Screenshot2011-04-17_09_16_21.jpg