Capndrs
New Member
- Reaction score
- 3
K.
So quick question. I'm making a map and it requires certain items to go to certain slots. So for example:
(Inventory)
12
34
56
Whenever you pick up a Purchasable item i need it to go to slot 1, Charged to slot 2, etc.
So at the beginning when you have no items, the game creates holders for you, which are items. My promblem is this: I can't get it to work. Heres my trigger:
It always ends up crahing the game, im not suprised, but i dont know what to do, unless theres a [Move item carried by hero from slot _ to slot _] I'm lost.
Help is needed.
Thanks.
So quick question. I'm making a map and it requires certain items to go to certain slots. So for example:
(Inventory)
12
34
56
Whenever you pick up a Purchasable item i need it to go to slot 1, Charged to slot 2, etc.
So at the beginning when you have no items, the game creates holders for you, which are items. My promblem is this: I can't get it to work. Heres my trigger:
Trigger:
- Items
- Events
- Unit - A unit Acquires an item
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Item-class of (Item carried by (Triggering Unit) in slot 6)) Equal to Permanent
- Then - Actions
- Hero - Drop (Item carried by (Triggering unit) in slot 1) from (Triggering unit)
- Hero - Drop (Item being manipulated) from (Triggering unit)
- Hero - Give (Item being manipulated) to (Triggering unit)
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
It always ends up crahing the game, im not suprised, but i dont know what to do, unless theres a [Move item carried by hero from slot _ to slot _] I'm lost.
Help is needed.
Thanks.