Hello, I have a problem with a trigger. It is supposed to unhide a unit, but it doesn't. After looking over it, I was unable to find any faults (with the unhiding that is), does anybody know what's wrong?
Also, my custom hero has 15 proper names, but every time I play (test) the scenario, he always uses the same name (the 8th name in the list). Is there a reason for this to happen?
Here is my trigger
(By the way, the death knight sending the transmission is not the hero being hidden and unhidden)
Also, my custom hero has 15 proper names, but every time I play (test) the scenario, he always uses the same name (the 8th name in the list). Is there a reason for this to happen?
Here is my trigger
Trigger:
- Destroy New Hearthglen Final
- Events
- Unit - A unit Dies
- Conditions
- Actions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- If - Conditions
- (Paladin 0359 <gen> is alive) Equal to False
- (ProgressNPC is alive) Equal to False
- (Castle 0343 <gen> is alive) Equal to False
- (Barracks 0354 <gen> is alive) Equal to False
- (Altar of Kings 0353 <gen> is alive) Equal to False
- Then - Actions
- Set Progress = 4
- Trigger - Turn off (This trigger)
- Trigger - Turn off Destroy New Hearthglen 3 Help <gen>
- Wait 5.00 seconds
- Cinematic - Send transmission to (All players) from Death Knight 0133 <gen> named Death Knight: Play No sound and display We are victorious! .... Modify duration: Add 0.00 seconds and Wait
- Wait 4.00 seconds
- Cinematic - Fade out over 4.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
- Wait 4.00 seconds
- Cinematic - Turn cinematic mode On for (All players)
- Cinematic - Turn on letterbox mode (hide interface) for (All players): fade out over 0.00 seconds
- Trigger - Turn off Destroy New Hearthglen Fight <gen>
- -------- Moving DK Back --------
- Unit Group - Pick every unit in (Units of type Healing Ward) and do (Unit - Remove (Picked unit) from the game)
- Unit Group - Pick every unit in (Units owned by Player 2 (Blue) of type Ghoul (Level 1)) and do (Unit - Kill (Picked unit))
- Unit Group - Pick every unit in (Units owned by Player 2 (Blue) of type Ghoul (Level 2)) and do (Unit - Kill (Picked unit))
- Unit Group - Pick every unit in (Units owned by Player 2 (Blue) of type Ghoul (Level 3)) and do (Unit - Kill (Picked unit))
- Unit Group - Order (Units owned by Player 2 (Blue)) to Stop
- Unit Group - Pick every unit in (Units owned by Player 2 (Blue)) and do (Set ProgressNPC = (Picked unit))
- Unit - Move ProgressNPC instantly to (Center of Main Entrance Portal <gen>)
- Unit - Hide ProgressNPC
- Item - Remove (Item carried by ProgressNPC of type Spider Silk Broach)
- Item - Remove (Item carried by ProgressNPC of type Healing Wards)
- -------- Removing the rest --------
- Unit Group - Pick every unit in (Units in New Hearthglen Portal Area <gen>) and do (Unit - Remove (Picked unit) from the game)
- Unit Group - Pick every unit in (Units in New Hearthglen Area <gen>) and do (Unit - Remove (Picked unit) from the game)
- Camera - Apply Camera 034 <gen> for Player 2 (Blue) over 0.00 seconds
- Wait 2.00 seconds
- Cinematic - Fade in over 1.00 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
- Camera - Apply Camera 033 <gen> for Player 2 (Blue) over 5.50 seconds
- Wait 2.00 seconds
- Special Effect - Create a special effect at (Center of Main Entrance Portal <gen>) using Abilities\Spells\Undead\DeathPact\DeathPactTarget.mdl
- Set ProgressSE = (Last created special effect)
- Wait 0.50 seconds
- Special Effect - Destroy ProgressSE
- Unit - Unhide ProgressNPC
- Wait 2.00 seconds
- Cinematic - Turn cinematic mode Off for (All players)
- Cinematic - Turn off letterbox mode (show interface) for (All players): fade in over 1.00 seconds
- Wait 3.00 seconds
- Game - Display to (All players) the text: Test
- Else - Actions
- If - Conditions
- If (All Conditions are True) then do (Then Actions) else do (Else Actions)
- Events
(By the way, the death knight sending the transmission is not the hero being hidden and unhidden)