- Joined
- Mar 14, 2022
- Messages
- 11
Hello! I am creating a system for a TD where there are multiple builders, and the player eventually has the option of switching between each builder. I want to make it so when a player switches builder - their inventory also carries over to the new unit. All my builders are hero type as to make it so they can sell Units (which is how the switching works).
Currently the trigger I have set up for the switching is:
This works pretty well for the switching. I tried adding an action "Unit - Order (Selling Unit) to give (Item carried in slot 1 by (Selling Unit) to (Sold Unit)", combined with a 0.1 wait trigger which allowed for the item in slot one to carry over... But when I added actions for the items in slots 2 - 6 as well... It still only carried one of the items.
I have considered creating item slot variables for each player builders item slots... But I don't understand how assigning a Variable could work any differently when inserted into the action mentioned above.
Any help would be appreciated! Thank you!
Currently the trigger I have set up for the switching is:
This works pretty well for the switching. I tried adding an action "Unit - Order (Selling Unit) to give (Item carried in slot 1 by (Selling Unit) to (Sold Unit)", combined with a 0.1 wait trigger which allowed for the item in slot one to carry over... But when I added actions for the items in slots 2 - 6 as well... It still only carried one of the items.
I have considered creating item slot variables for each player builders item slots... But I don't understand how assigning a Variable could work any differently when inserted into the action mentioned above.
Any help would be appreciated! Thank you!