I'm trying make a requirement for my item, what i want is: "If the player have item X, he can't buy/carry another". How can i make this work using Data? Or triggers, whatever.
if you like a more specific event you can also use a behavior with inial effect (dummy effect). so everytime a units gets this item, the behaiour is applied and the effect is called. now register this effect as event and you have a trigger that only fires for this specific item, and not for all.
Thanks guys, I'll try it another time. Now I am very disappointed with the editor, he erased all the icons that I inserted. 40 icons, 40! -_-'This is stressful, and all because of a bug in the editor itself, no my mistake! Seriously, the feeling is horrible, my backup is from two days ago.
Sorry for the outburst, thanks again...
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
I'm trying make a requirement for my item, what i want is: "If the player have item X, he can't buy/carry another". How can i make this work using Data? Or triggers, whatever.
now im not too familiar with carry items, but I would try a trigger like this if you can (I never tried, nor do I know if these actions exist)
This event does not exist. =(
@Diego6D: Go Try the event Unit manipulates inventory.
yes there is its under unit manipulates inventory, like exaken said
@joey101d: Go
if you like a more specific event you can also use a behavior with inial effect (dummy effect). so everytime a units gets this item, the behaiour is applied and the effect is called. now register this effect as event and you have a trigger that only fires for this specific item, and not for all.
Thanks guys, I'll try it another time. Now I am very disappointed with the editor, he erased all the icons that I inserted. 40 icons, 40! -_-'This is stressful, and all because of a bug in the editor itself, no my mistake! Seriously, the feeling is horrible, my backup is from two days ago.
Sorry for the outburst, thanks again...