Trigger bug?

war444

New Member
Reaction score
2
Hey i was making this map and i tested this trigger And for some reason it didnt work. I changed some things and when i was certain it was suppose to work it didnt. Is somthing wrong?
Here are the triggers
Trigger:
  • Lol
    • Events
      • Player - Player 1 (Red) types a chat message containing -Gandalf as An exact match
    • Conditions
    • Actions
      • Game - Set the time of day to 24.00
      • Game - Turn the day/night cycle Off
      • Cinematic - Fade out over 0.50 seconds using texture Black Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Wait 1.00 seconds
      • Cinematic - Fade in over 0.40 seconds using texture White Mask and color (0.00%, 0.00%, 0.00%) with 0.00% transparency
      • Unit - Create 1 Soldier for Player 1 (Red) at (Center of Region 012 <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 2 (Blue) at (Center of Region 013 <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 3 (Teal) at (Center of Region 014 <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 4 (Purple) at (Center of Region 015 <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 5 (Yellow) at (Center of Region 016 <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 6 (Orange) at (Center of Region 017 <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 7 (Green) at (Center of Region 018 <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 8 (Pink) at (Center of Region 019 <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 9 (Gray) at (Center of Region 020 <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 10 (Light Blue) at (Center of Region 021 <gen>) facing Default building facing degrees
      • Special Effect - Create a special effect at (Center of Region 012 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
      • Special Effect - Create a special effect at (Center of Region 015 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
      • Special Effect - Create a special effect at (Center of Region 013 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
      • Special Effect - Create a special effect at (Center of Region 014 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
      • Special Effect - Create a special effect at (Center of Region 016 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
      • Special Effect - Create a special effect at (Center of Region 017 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
      • Special Effect - Create a special effect at (Center of Region 018 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
      • Special Effect - Create a special effect at (Center of Region 019 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
      • Special Effect - Create a special effect at (Center of Region 020 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
      • Special Effect - Create a special effect at (Center of Region 021 <gen>) using Abilities\Spells\Human\MarkOfChaos\MarkOfChaosTarget.mdl
      • Camera - Set the camera bounds for Player 1 (Red) to Region 045 <gen>
      • Camera - Set the camera bounds for Player 2 (Blue) to Region 045 <gen>
      • Camera - Set the camera bounds for Player 3 (Teal) to Region 045 <gen>
      • Camera - Set the camera bounds for Player 4 (Purple) to Region 045 <gen>
      • Camera - Set the camera bounds for Player 5 (Yellow) to Region 045 <gen>
      • Camera - Set the camera bounds for Player 6 (Orange) to Region 045 <gen>
      • Camera - Set the camera bounds for Player 7 (Green) to Region 045 <gen>
      • Camera - Set the camera bounds for Player 8 (Pink) to Region 045 <gen>
      • Camera - Set the camera bounds for Player 9 (Gray) to Region 045 <gen>
      • Camera - Set the camera bounds for Player 10 (Light Blue) to Region 045 <gen>
      • Set Gandalf[1] = Gandalf the Grey 0053 <gen>
      • Game - Display to (All players) the text: |cff8B1414WarMaker|...

Trigger:
  • Lolx2
    • Events
      • Unit - A unit enters Region 045 <gen>
    • Conditions
    • Actions
      • Set Visibilitymuch[1] = (Last created visibility modifier)
      • Set Visibilitymuch[2] = (Last created visibility modifier)
      • Set Visibilitymuch[3] = (Last created visibility modifier)
      • Set Visibilitymuch[4] = (Last created visibility modifier)
      • Set Visibilitymuch[5] = (Last created visibility modifier)
      • Set Visibilitymuch[6] = (Last created visibility modifier)
      • Set Visibilitymuch[7] = (Last created visibility modifier)
      • Set Visibilitymuch[8] = (Last created visibility modifier)
      • Set Visibilitymuch[9] = (Last created visibility modifier)
      • Set Visibilitymuch[10] = (Last created visibility modifier)
      • Visibility - Create an initially Enabled visibility modifier for Player 1 (Red) emitting Visibility across Region 045 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 2 (Blue) emitting Visibility across Region 045 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 3 (Teal) emitting Visibility across Region 045 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 4 (Purple) emitting Visibility across Region 045 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 5 (Yellow) emitting Visibility across Region 045 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 6 (Orange) emitting Visibility across Region 045 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 7 (Green) emitting Visibility across Region 045 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 8 (Pink) emitting Visibility across Region 045 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 9 (Gray) emitting Visibility across Region 045 <gen>
      • Visibility - Create an initially Enabled visibility modifier for Player 10 (Light Blue) emitting Visibility across Region 045 <gen>

Trigger:
  • Untitled Trigger 001
    • Events
      • Unit - A unit enters Region 022 <gen>
    • Conditions
      • Gandalf the Grey 0053 <gen> Equal to Gandalf[1]
    • Actions
      • Trigger - Turn on Lolx3 <gen>
      • Trigger - Turn on Lolx4 <gen>

Trigger:
  • Lolx3
    • Events
      • Unit - A unit enters Region 022 <gen>
    • Conditions
    • Actions
      • Floating Text - Create floating text that reads You shall not pass! at (Center of Region 050 <gen>) with Z offset 0.00, using font size 10.00, color (100.00%, 100.00%, 100.00%), and 0.00% transparency
      • Wait 3.00 seconds
      • Floating Text - Destroy (Last created floating text)
      • Trigger - Turn off (This trigger)

Trigger:
  • Lolx4
    • Events
      • Unit - A unit enters Region 022 <gen>
    • Conditions
      • Gandalf the Grey 0053 <gen> Equal to Gandalf[1]
    • Actions
      • Animation - Play Gandalf the Grey 0053 <gen>'s Spell slam animation
      • Unit - Kill (Entering unit)
      • Trigger - Turn off (This trigger)

Trigger:
  • Lolx5
    • Events
      • Unit - Gandalf the Grey 0053 <gen> Dies
    • Conditions
    • Actions
      • Trigger - Turn on Lolx8 <gen>
      • Trigger - Turn on Lolx6 <gen>

Trigger:
  • Lolx6
    • Events
      • Unit - A unit enters Region 047 <gen>
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Soldier
    • Actions
      • Special Effect - Create a special effect attached to the overhead of UnitsGalore[1] using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
      • Special Effect - Create a special effect attached to the overhead of UnitsGalore[2] using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
      • Special Effect - Create a special effect attached to the overhead of UnitsGalore[3] using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
      • Special Effect - Create a special effect attached to the overhead of UnitsGalore[4] using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
      • Special Effect - Create a special effect attached to the overhead of UnitsGalore[5] using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
      • Special Effect - Create a special effect attached to the overhead of UnitsGalore[6] using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
      • Special Effect - Create a special effect attached to the overhead of UnitsGalore[7] using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
      • Special Effect - Create a special effect attached to the overhead of UnitsGalore[8] using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
      • Special Effect - Create a special effect attached to the overhead of UnitsGalore[9] using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
      • Special Effect - Create a special effect attached to the overhead of UnitsGalore[10] using Abilities\Spells\Human\DispelMagic\DispelMagicTarget.mdl
      • Wait 0.50 seconds
      • Unit - Remove UnitsGalore[1] from the game
      • Unit - Remove UnitsGalore[2] from the game
      • Unit - Remove UnitsGalore[3] from the game
      • Unit - Remove UnitsGalore[4] from the game
      • Unit - Remove UnitsGalore[5] from the game
      • Unit - Remove UnitsGalore[6] from the game
      • Unit - Remove UnitsGalore[7] from the game
      • Unit - Remove UnitsGalore[8] from the game
      • Unit - Remove UnitsGalore[9] from the game
      • Unit - Remove UnitsGalore[10] from the game

Trigger:
  • Lolx7
    • Events
      • Unit - A unit enters Region 045 <gen>
    • Conditions
    • Actions
      • Set TriggeringUnit[1] = (Entering unit)

Trigger:
  • Lolx8
    • Events
      • Unit - A unit enters Region 047 <gen>
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Soldier
    • Actions
      • Unit - Create 1 Soldier for Player 1 (Red) at (Center of Red <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 2 (Blue) at (Center of Blue <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 3 (Teal) at (Center of Teal <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 4 (Purple) at (Center of Purple <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 5 (Yellow) at (Center of Yellow <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 6 (Orange) at (Center of Orange <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 7 (Green) at (Center of Green <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 8 (Pink) at (Center of Pink <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 9 (Gray) at (Center of Gray <gen>) facing Default building facing degrees
      • Unit - Create 1 Soldier for Player 10 (Light Blue) at (Center of Lightblue <gen>) facing Default building facing degrees
      • Game - Display to (All players) the text: |cff8B1414Warmaker|...
      • Trigger - Turn off (This trigger)

Trigger:
  • Lolx9
    • Events
      • Unit - A unit enters Region 045 <gen>
    • Conditions
      • (Unit-type of (Triggering unit)) Equal to Red Dragon
    • Actions
      • Unit - Change ownership of (Entering unit) to Neutral Passive and Change color
      • Unit - Order (Entering unit) to Attack Gandalf the Grey 0053 <gen>

Trigger:
  • Lolx10
    • Events
      • Unit - Gandalf the Grey 0053 <gen> Is attacked
    • Conditions
    • Actions
      • Wait 1.50 seconds
      • Unit - Kill (Attacking unit)
      • Unit - Kill Gandalf the Grey 0053 <gen>

Trigger:
  • Lolx11
    • Events
      • Unit - Gandalf the Grey 0053 <gen> Dies
    • Conditions
    • Actions
      • Set Gandalf[1] = (Last created unit)
 

war444

New Member
Reaction score
2
Well the Set Gandalf[1] Is to get Gandalf[1] Off of gandalf. If you look at Lolx4, it says gandalf has to be Gandalf[1] for that part of the trigger to work.

P.S. My problem is gandalf not doing animation, region isnt killing, the text isnt showing up
 

LordXavier

TH.net Regular
Reaction score
16
about you P.S. there, try removing that condition, it could possibly be screwing your trigger up
 

LordXavier

TH.net Regular
Reaction score
16
why not give him a custom War Stomp (all values removed) make him cast it, then remove it.
EDIT: what unit model is gandalf?
 

war444

New Member
Reaction score
2
His unit model is Blood mage
What would casting the spell war stomp help anything?
 

LordXavier

TH.net Regular
Reaction score
16
nvm on the War Stomp. As you should notice, the Blood Mage model doesn't have a Spell Slam animation. You need to change the trigger to either Spell or Spell Channel animation (Spell Channel looks cooler in my opinion)
 

war444

New Member
Reaction score
2
I changed it to spell channel and still nothing, did i mention that region 22 is on a bridge?
 

LordXavier

TH.net Regular
Reaction score
16
Rather than turning on Lolx3 and Lolx4 in Untitled Trigger 001, run them and remove the events in them, if you turn them on then the unit would have to walk out of them, then go back into them. OR just make them all into Untitled Trigger 001
 

war444

New Member
Reaction score
2
Turns out it was that. But how do i make it so when he dies, those triggers are cancled?
 

LordXavier

TH.net Regular
Reaction score
16
add this condition
Trigger:
  • (Gandalf the Grey 0053 is dead) Equal to False

or
Trigger:
  • (Gandalf the Grey 0053 is alive) Equal to True

also,
Trigger:
  • Events
    • Gandalf the Grey 0053 <gen> dies
    • Conditions
      • Gandalf[1] equal to Gandalf the Grey 0053 <gen>
    • Actions
      • Trigger - Turn off All Gandalf Triggers
 
General chit-chat
Help Users
  • No one is chatting at the moment.
  • Monovertex Monovertex:
    How are you all? :D
    +1
  • Ghan Ghan:
    Howdy
  • Ghan Ghan:
    Still lurking
    +3
  • The Helper The Helper:
    I am great and it is fantastic to see you my friend!
    +1
  • The Helper The Helper:
    If you are new to the site please check out the Recipe and Food Forum https://www.thehelper.net/forums/recipes-and-food.220/
  • Monovertex Monovertex:
    How come you're so into recipes lately? Never saw this much interest in this topic in the old days of TH.net
  • Monovertex Monovertex:
    Hmm, how do I change my signature?
  • tom_mai78101 tom_mai78101:
    Signatures can be edit in your account profile. As for the old stuffs, I'm thinking it's because Blizzard is now under Microsoft, and because of Microsoft Xbox going the way it is, it's dreadful.
  • The Helper The Helper:
    I am not big on the recipes I am just promoting them - I use the site as a practice place promoting stuff
    +2
  • Monovertex Monovertex:
    @tom_mai78101 I must be blind. If I go on my profile I don't see any area to edit the signature; If I go to account details (settings) I don't see any signature area either.
  • The Helper The Helper:
    You can get there if you click the bell icon (alerts) and choose preferences from the bottom, signature will be in the menu on the left there https://www.thehelper.net/account/preferences
  • The Helper The Helper:
    I think I need to split the Sci/Tech news forum into 2 one for Science and one for Tech but I am hating all the moving of posts I would have to do
  • The Helper The Helper:
    What is up Old Mountain Shadow?
  • The Helper The Helper:
    Happy Thursday!
    +1
  • Varine Varine:
    Crazy how much 3d printing has come in the last few years. Sad that it's not as easily modifiable though
  • Varine Varine:
    I bought an Ender 3 during the pandemic and tinkered with it all the time. Just bought a Sovol, not as easy. I'm trying to make it use a different nozzle because I have a fuck ton of Volcanos, and they use what is basically a modified volcano that is just a smidge longer, and almost every part on this thing needs to be redone to make it work
  • Varine Varine:
    Luckily I have a 3d printer for that, I guess. But it's ridiculous. The regular volcanos are 21mm, these Sovol versions are about 23.5mm
  • Varine Varine:
    So, 2.5mm longer. But the thing that measures the bed is about 1.5mm above the nozzle, so if I swap it with a volcano then I'm 1mm behind it. So cool, new bracket to swap that, but THEN the fan shroud to direct air at the part is ALSO going to be .5mm to low, and so I need to redo that, but by doing that it is a little bit off where it should be blowing and it's throwing it at the heating block instead of the part, and fuck man
  • Varine Varine:
    I didn't realize they designed this entire thing to NOT be modded. I would have just got a fucking Bambu if I knew that, the whole point was I could fuck with this. And no one else makes shit for Sovol so I have to go through them, and they have... interesting pricing models. So I have a new extruder altogether that I'm taking apart and going to just design a whole new one to use my nozzles. Dumb design.
  • Varine Varine:
    Can't just buy a new heatblock, you need to get a whole hotend - so block, heater cartridge, thermistor, heatbreak, and nozzle. And they put this fucking paste in there so I can't take the thermistor or cartridge out with any ease, that's 30 dollars. Or you can get the whole extrudor with the direct driver AND that heatblock for like 50, but you still can't get any of it to come apart
  • Varine Varine:
    Partsbuilt has individual parts I found but they're expensive. I think I can get bits swapped around and make this work with generic shit though

      The Helper Discord

      Members online

      No members online now.

      Affiliates

      Hive Workshop NUON Dome World Editor Tutorials

      Network Sponsors

      Apex Steel Pipe - Buys and sells Steel Pipe.
      Top