hey! i'm experimenting with the data editor and I want to make an ability which orders the caster to use Supply Depot (lower) and then order every unit within 5 of him to use the same ability (supply depot (lower) + searching for new targets within 5), so that a chain reaction is started.
disclaimer: the following might be easier to read from the bottom up!
I first made an "Effect - Instant" ability called "Chain Reaction"
I then made an "Issue Order" effect called "Order to Lower"
I then made a "Search Area" effect called "Search Order to Lower"
Under the "Effect" tab on the ability (Chain Reaction) i set the Effect value to "Order to Lower"
Under the "Ability" tab on the effect called "Order to Lower" I set the "Ability" value to "Supply Depot - Lower"
Under the "Target" tab on the effect called "Order to Lower" I set the "Effect" value to "Search Order to Lower" and the "Value" value to "Source Point"
(both the "Effect" value and the "Value" value is under "Target".
Under the "Search" Tab on the effect called "Search Order to Lower" I set the Arc to 360, the Max Count to 4 and the radius to 5. I tried messing around with different effects under the "Effect" value but nothing was particularly useful. Same for the "Impact Location" and "Launch Location" values under the "Target" tab.
end of disclaimer
I added the "Chain Reaction" ability to a supply depot (and left the "Supply Depot - Lower" ability ofc) but when I tried it out, the casting supply depot would just Lower itself and... that would be it. What am I doing wrong? I'm starting to suspect that "Search Area" effects are searching for OTHER effects, not units. Is this true?
Order to Lower (I want to order the new targets to lower, I don't know how to do it though. this is how I'd like it to look)
dunno how to make those long spaces :P
Basically: (Chain Reaction) -> (Order to Lower + Search Order to Lower) -> (Repeat Order to Lower + Search Order to Lower endlessly or until there are no units who can use "Supply Depot - Lower" within a range of 5)
instead of having the ability issue the order to the unit doing the command and then doing the search effect why not just include the source unit in the search .....
This will tell you if the search is failing or not.
Abiltiy
Search effect
issue order Effect (order lower)
Thats all this should require. Though you prolly want a req/validator on the order effect so that it only order units that have the ability and are currently not lowerd.
I'll try and see if I can patch it together on my own
thanks for the super quick responses btw
edit: I tried it, and it works to some extent. It's only the casting supply depot + the ones found by the Search Area Effect that lower, so it seems that there's only one search. I'd like all depots that are lowering to search for targets on their own, so there's in fact a chain reaction. As it is now, there's only one "generation" of depots lowering :S
Ok, I found a new way to formulate the idea. I want the casting Supply Depot to Lower itself, and then I want all other units within a range of 5 to do the same thing.
I sorta figured out that all I need is one ability which triggers the whole chain reaction, and then two effects that loop until there are no units within a range of 5 able to Lower.
So; Ability -> Effect which orders to Lower and triggers the following effect: Effect which searches for new units that should Lower. Loop these two effects over and over.
It's hard to explain because it's like an effect which triggers another effect whose sole purpose is to trigger the first effect again. So it's like just two effects triggering each other constantly :S
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
hey! i'm experimenting with the data editor and I want to make an ability which orders the caster to use Supply Depot (lower) and then order every unit within 5 of him to use the same ability (supply depot (lower) + searching for new targets within 5), so that a chain reaction is started.
disclaimer: the following might be easier to read from the bottom up!
end of disclaimer
I added the "Chain Reaction" ability to a supply depot (and left the "Supply Depot - Lower" ability ofc) but when I tried it out, the casting supply depot would just Lower itself and... that would be it. What am I doing wrong? I'm starting to suspect that "Search Area" effects are searching for OTHER effects, not units. Is this true?
either way, thanks in advance!
If you could break your abiltiy structure out like this
@SouLCarveRR: Go
hmm
dunno how to make those long spaces :P
Basically: (Chain Reaction) -> (Order to Lower + Search Order to Lower) -> (Repeat Order to Lower + Search Order to Lower endlessly or until there are no units who can use "Supply Depot - Lower" within a range of 5)
instead of having the ability issue the order to the unit doing the command and then doing the search effect why not just include the source unit in the search .....
This will tell you if the search is failing or not.
Thats all this should require. Though you prolly want a req/validator on the order effect so that it only order units that have the ability and are currently not lowerd.
@SouLCarveRR: Go
hey, that's really clever (or im just dumb :P)
I'll try and see if I can patch it together on my own
thanks for the super quick responses btw
edit: I tried it, and it works to some extent. It's only the casting supply depot + the ones found by the Search Area Effect that lower, so it seems that there's only one search. I'd like all depots that are lowering to search for targets on their own, so there's in fact a chain reaction. As it is now, there's only one "generation" of depots lowering :S
Ok, I found a new way to formulate the idea. I want the casting Supply Depot to Lower itself, and then I want all other units within a range of 5 to do the same thing.
I sorta figured out that all I need is one ability which triggers the whole chain reaction, and then two effects that loop until there are no units within a range of 5 able to Lower.
So; Ability -> Effect which orders to Lower and triggers the following effect: Effect which searches for new units that should Lower. Loop these two effects over and over.
It's hard to explain because it's like an effect which triggers another effect whose sole purpose is to trigger the first effect again. So it's like just two effects triggering each other constantly :S