Im trying to figure out how to do catalog editing, but its confusing me. What i did was, i went into data editor, switched to raw data, and went back to trigg editor and made a trigger like this, kinda.
Catalog - Set value of Effects "Amount" "ExperimentalPlasmaGunDamage" for player (Triggering player) to (Substring((Entered chat string), 2, (Length of (Entered chat string))))
(i hink "Amount" should be something thats raw data-ish, but i was experimenting with some shit)
Am i doing something wrong? do i have it swapped up? Idk
when i try it, it gives me some trigger error about my "Entry"
Well, the first (and as I think most important) thing is that you cant modefy every value. You are only allowed to change certain values, in fact whatever you can do with upgrades you can do with catalogs. So most of the fields are read only.
In general it should look like this:
Catalog - Set value [Catalog Type] [Name of it] [Field] for player [Player] to [String]
In your case you mixed up name and field:
Catalog - Set value of Effects "Amount" "ExperimentalPlasmaGunDamage" for player
Should be:
Catalog - Set value of Effects "ExperimentalPlasmaGunDamage" "Amount" for player ...
dont comment on my laziness
Im trying to figure out how to do catalog editing, but its confusing me. What i did was, i went into data editor, switched to raw data, and went back to trigg editor and made a trigger like this, kinda.
Catalog - Set value of Effects "Amount" "ExperimentalPlasmaGunDamage" for player (Triggering player) to (Substring((Entered chat string), 2, (Length of (Entered chat string)))) (i hink "Amount" should be something thats raw data-ish, but i was experimenting with some shit)
Am i doing something wrong? do i have it swapped up? Idk
when i try it, it gives me some trigger error about my "Entry"
Well, I think you should paste the error instead of saying "some", that could help... Are you sure your substring is integer value?
@illidans911: Go
Well, the first (and as I think most important) thing is that you cant modefy every value. You are only allowed to change certain values, in fact whatever you can do with upgrades you can do with catalogs. So most of the fields are read only.
In general it should look like this:
Catalog - Set value [Catalog Type] [Name of it] [Field] for player [Player] to [String]
In your case you mixed up name and field:
Catalog - Set value of Effects "Amount" "ExperimentalPlasmaGunDamage" for player
Should be:
Catalog - Set value of Effects "ExperimentalPlasmaGunDamage" "Amount" for player ...