HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

(GUI) Trigger not working?

03-21-2009, 03:21 PM#1
ArmyofFrogs
Hey I've recently put together a respawning trigger, and everything works fine and dandy, however for some reason part of it doesn't want to work. What I have is here -

Trigger:
Events
Unit - A unit Dies

Collapse Conditions
Collapse Or - Any (Conditions are true)
Collapse Conditions
Unit-type of Triggering unit Equal to Bandit Lord
(Used any conditions for when I add more bosses later)
Collapse Actions
Collapse Unit Group - Pick every unit in (Units in (Playable map area)) and do (Actions)
Collapse Loop - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Action)
Collapse If - Conditions
(Player number of (Owner of (Triggering unit)) Less than 11
Collapse Then - Actions
Collapse If (All Conditions are True) then do (Then Actions) else do (Else Actions)
Collapse If - Conditions
Unit-type of Triggering Unit Equal to Bandit Lord
Collapse Then - Actions
Set [variables] to 3
Unit - Move (Picked unit) instantly to (Center of Lootjump1)
Else
Else
Custom script: call DestroyGroup( GetLastCreatedGroup() )
Collapse For each (Integer A) from DungeonStart to (DungeonEnd - 1), do (Actions)
Collapse Loop - Actions
Wait 2.00
Unit - Create 1 InitType[(Integer A)] for Player 11 (Dark Green) at InitPos[(Integer A)] facing Default degrees

The respawning itself works of the units, however the players <10 are not being moved nor do i think the variables are being set, and I'm not entirely sure why not. Any help would be very appreciated.