The raw data looks like this: Field PlacePointDefenseDrone (Gadget: Place Scout Drone) CAbilEffect_PrepTime (1.2)
And yes i get a Error: 00:00:09.88 Trigger Error in 'gt_MiscPickups_Func': Parameter out of bounds in 'CatalogFieldValueSet' (value: -1, min: 0, max: 15)
Hi i tryed some time now and just cant get it to work.
I have the "PlacePointDefenseDrone" ability with 1.2 Prepare Time. I want to make a catalog trigger that change the Prepare Time to 0.
MY TRIGGER Catalog - Set value of Abilities "PlacePointDefenseDrone" "PrepTime" for player anyplayer to "0"
What is wrong with it.?
preptime may actually be in an array set of values.... how does it look in raw data ? in the data editor.
in game do you get any errors?
@SouLCarveRR: Go
The raw data looks like this: Field PlacePointDefenseDrone (Gadget: Place Scout Drone) CAbilEffect_PrepTime (1.2)
And yes i get a Error: 00:00:09.88 Trigger Error in 'gt_MiscPickups_Func': Parameter out of bounds in 'CatalogFieldValueSet' (value: -1, min: 0, max: 15)
Like SoulCarver said, the prep time is an array value. So instead of "PrepTime" use "PrepTime[0]"
Now i changed the any player to owner of trigger unit. and tryed to set time to 0.1 and -1 and now i get this error.
00:00:10.81 Trigger Error in 'gt_TestBox01_Func': TriggerDebug/ErrorCatalogFieldNotWritten
@kongkim82: Go
My previous statement was most likely incorrect, I edited the post.
Did you try the [0] yet? If you still get the error you stated, the field most likely cannot be modified.
@Kueken531: Go
Yah i tryed it :(
I still get 00:00:10.81 Trigger Error in 'gt_TestBox01_Func': TriggerDebug/ErrorCatalogFieldNotWritten