I was wondering if there is a way to make a equipment container for a hero class have a model based on the hero who opens it..
Erm.. what I mean is .. now I have to create a different equipment container for each hero I am using since I cant change the background model for it on the fly (at least i dont know how) ..
so is it possible to have one item container change the model based on the hero opening their character sheet ?
well I was able to find that option in the trigger editor but somehow I am lost when trying to set it up
what I tried is:
new trigger -> event (when unit selected...)
actions -> Catalog Set Value of Item Containers.. and then im lost ... I cant figure out what to set after that.. all the functions available are kind of confusing.. not sure that i am even looking for the correct stuff..
this is what i was trying to find.. Catalog Set Value of Item Containers for EquipmentContainer Model Model of Triggering Unit
but cant figure out how to do that in the trigger editor hmmm
well the easiest to implement solution is just to make duplicates of the inventory for each hero, and duplicates of the ability as well. so each hero has it's own inventory and ability.
now the hard way to do this is using catalogs to set the value correctly per player.
well you've actually got it there already: Catalog Set Value of Item Containers for EquipmentContainer Model Model of Triggering Unit.
It will prolly end up like this though:
Catalog - Set value of Item Containers "EquipmentContainer" "Model" for player (Triggering player) to (String((Unit type of (Triggering unit))))
Ello..
I was wondering if there is a way to make a equipment container for a hero class have a model based on the hero who opens it.. Erm.. what I mean is .. now I have to create a different equipment container for each hero I am using since I cant change the background model for it on the fly (at least i dont know how) ..
so is it possible to have one item container change the model based on the hero opening their character sheet ?
tnx
You can get to data editor values by "Catalog Field Values" And you can setup different value for each player.
Ah I see..
well I was able to find that option in the trigger editor but somehow I am lost when trying to set it up
what I tried is:
new trigger -> event (when unit selected...) actions -> Catalog Set Value of Item Containers.. and then im lost ... I cant figure out what to set after that.. all the functions available are kind of confusing.. not sure that i am even looking for the correct stuff..
this is what i was trying to find.. Catalog Set Value of Item Containers for EquipmentContainer Model Model of Triggering Unit
but cant figure out how to do that in the trigger editor hmmm
@InfamousBus: Go
well the easiest to implement solution is just to make duplicates of the inventory for each hero, and duplicates of the ability as well. so each hero has it's own inventory and ability.
now the hard way to do this is using catalogs to set the value correctly per player.
well you've actually got it there already: Catalog Set Value of Item Containers for EquipmentContainer Model Model of Triggering Unit.
It will prolly end up like this though:
Catalog - Set value of Item Containers "EquipmentContainer" "Model" for player (Triggering player) to (String((Unit type of (Triggering unit))))
Great that worked! Ty
Didnt know I had to set it to string too.. but now it works :)
the way for making duplicates is easier yet not as efficient thats why i wanted to do it this way