The problem with testing this is that I can't host, and nobody on my /f l can host either sadly :thdown::thdown:
What I was hoping to do was make it so that when the boss dies (in this case, unit_iceg0) that every unit gets moved to its own loot room
So since I can't test it I'm hoping if someone can eyeball it and tell me if this will work or not
What I was hoping to do was make it so that when the boss dies (in this case, unit_iceg0) that every unit gets moved to its own loot room
So since I can't test it I'm hoping if someone can eyeball it and tell me if this will work or not
Trigger:
- Loot Area
- Events
- Unit - A unit Dies
- Conditions
- (Dying unit) Equal to unit_iceg0
- Actions
- Set unitgroup_iceg = (Units in Ice Gauntlet <gen> matching ((((Matching unit) belongs to an enemy of player_hostile) Equal to True) and (((Matching unit) is A Hero) Equal to True)))
- Set point_iceg3 = (Center of region_loot[(Player number of (Owner of (Picked unit)))])
- Unit Group - Pick every unit in unitgroup_iceg and do (Actions)
- Loop - Actions
- Unit - Move (Picked unit) instantly to point_iceg3
- Loop - Actions
- Custom script: call DestroyGroup (udg_unitgroup_iceg)
- Custom script: call RemoveLocation (udg_point_iceg3)
- Events