I'm not stranger to creating items themselvses, nor the item "containers" that are for inventory, but getting them there without manually picking them up and equipping them is where I'm having trouble.
Using triggers you are able to create the inventory items directly in the hero unit by using the get triggering unit or add the unit to a unit group and determine it by that. Then in the container field make sure you set your slot to equip the item that ends up in it. if you are trying to create an item that attaches weapons it is a slightly more complicated. need a bit more information as to what you are trying to do
Thanks for the response. I'm just trying to do the thing you described first - basically make a unit start with things equipped, nothing too fancy. I don't really follow how to create inventory item directly in the hero unit; what specific trigger action are we talking about? Sorry I don't see how "get triggering unit" or "Add unit to unit group" apply, please enlighten me :)
You can create the item at the position of the hero unit and, supposing the hero unit has the inventory ability, order the hero unit to Take the item (Order targeting unit,) first replacing the unit's order and then after existing orders if you're trying to add multiple items.
You can use the create inventory item and depending on how you are running the trigger will determine how it can or must be set up here is how i usually do it roughly
i have a map that i am working on and doing it this way makes it a lot easier in the long run
http://tinypic.com/view.php?pic=23sy72r&s=5
Say I want a hero unit with an equipment to start with a specific weapon armor equipped through his inventory, how do I do this?
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
I would guess that you create an inventory item and move it to the slot that represents the field you want.
@Ahli634: Go
I'm not stranger to creating items themselvses, nor the item "containers" that are for inventory, but getting them there without manually picking them up and equipping them is where I'm having trouble.
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
Using triggers you are able to create the inventory items directly in the hero unit by using the get triggering unit or add the unit to a unit group and determine it by that. Then in the container field make sure you set your slot to equip the item that ends up in it. if you are trying to create an item that attaches weapons it is a slightly more complicated. need a bit more information as to what you are trying to do
@zaysite: Go
Thanks for the response. I'm just trying to do the thing you described first - basically make a unit start with things equipped, nothing too fancy. I don't really follow how to create inventory item directly in the hero unit; what specific trigger action are we talking about? Sorry I don't see how "get triggering unit" or "Add unit to unit group" apply, please enlighten me :)
<Click Here> To See My Epic Single Player Campaign (LifeForceCampaign.com)
Create Inventory Item
You can create the item at the position of the hero unit and, supposing the hero unit has the inventory ability, order the hero unit to Take the item (Order targeting unit,) first replacing the unit's order and then after existing orders if you're trying to add multiple items.
You can use the create inventory item and depending on how you are running the trigger will determine how it can or must be set up here is how i usually do it roughly i have a map that i am working on and doing it this way makes it a lot easier in the long run http://tinypic.com/view.php?pic=23sy72r&s=5