Say I want to add X seconds onto a cooldown clock for an ability. I think I need to use a trigger with a catalog in it, but don't know what goes in each field. Do I have to manually type in the strings from XML mode? If so, I can't find the right ones.
Absolutely. You are on the right track. Let me open up the editor and I'll post the demo map in a few minutes with an explanation of the thought process.
Catalog - Set value of Abilities PsiStorm Cost[0].Cooldown.TimeUse for player (Triggering player) to (String(1))
"Abilities". Since we want to affect an ability and not an effect this field is obviously abilities :D
Then we need to specify which ability we want to change.
In this case I chose the Psi Storm of the High Templar.
Then. We select the field we want to affect. Since I am using the 1.5 editor, It asks me to choose what kind of ability I want to affect. In this case, Effect-Target.
So we want to change the cooldown of the ability. So in data if you go change the cooldown. It will be in "Cost" then "TimeUse". I tried to go get the previous value and modify it using arithmetic's but with the event I was using it kept giving me an error. I've done that in the past but for some reason the event I am using in this demo doesn't allow me to get the field value before changing it. Anyway. So now that we know which field we want to change. We gota specify the player. And then since data entries are strings and we want send a "Numeric" Value we have to convert interger to string and input your value. Voila. Perfect example of how Catalogs work.
Say I want to add X seconds onto a cooldown clock for an ability. I think I need to use a trigger with a catalog in it, but don't know what goes in each field. Do I have to manually type in the strings from XML mode? If so, I can't find the right ones.
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
@Bilxor: Go
Absolutely. You are on the right track. Let me open up the editor and I'll post the demo map in a few minutes with an explanation of the thought process.
Catalog - Set value of Abilities PsiStorm Cost[0].Cooldown.TimeUse for player (Triggering player) to (String(1))
"Abilities". Since we want to affect an ability and not an effect this field is obviously abilities :D
Then we need to specify which ability we want to change.
In this case I chose the Psi Storm of the High Templar.
Then. We select the field we want to affect. Since I am using the 1.5 editor, It asks me to choose what kind of ability I want to affect. In this case, Effect-Target.
So we want to change the cooldown of the ability. So in data if you go change the cooldown. It will be in "Cost" then "TimeUse". I tried to go get the previous value and modify it using arithmetic's but with the event I was using it kept giving me an error. I've done that in the past but for some reason the event I am using in this demo doesn't allow me to get the field value before changing it. Anyway. So now that we know which field we want to change. We gota specify the player. And then since data entries are strings and we want send a "Numeric" Value we have to convert interger to string and input your value. Voila. Perfect example of how Catalogs work.
Hope this helps.