• Listen to a special audio message from Bill Roper to the Hive Workshop community (Bill is a former Vice President of Blizzard Entertainment, Producer, Designer, Musician, Voice Actor) 🔗Click here to hear his message!
  • Read Evilhog's interview with Gregory Alper, the original composer of the music for WarCraft: Orcs & Humans 🔗Click here to read the full interview.

[Trigger] heros stop responding during game

Status
Not open for further replies.
Level 2
Joined
Sep 20, 2008
Messages
8
A few of my heros seem to randomly decide to stop following orders. I have had cases where just the transformation skill stops working and cases where the hero becomes completely unresponsive to any thing it's told. I think I've only seen it on heros with transformation skills and one with avatar.

What causes this?
 
Level 2
Joined
Sep 20, 2008
Messages
8
These are player heros. The player becomes unable to issue any commands (attack, move, skills, etc) in some cases. In other cases i have had just the transformation skill stop working. I was told they fixed it once by using a tome of retraining where just the transformation skill stopped working.

This is the only hero I have had trouble with that didn't have a transformation skill:

berserk (unit ability)
aoe explosion on death (unit ability)

Avatar (10 levels) Increased damage and size
Big bad voodoo (10 levels)
warstomp (10 levels)
Dark Ritual (10 levels) wasn't being used at the time
Tornado slow aura (10 levels) used to slow enemy attack speed

There are no triggers directly involving this hero.

There were two people playing as this hero at the time. One stopped responding to all commands completely. There were 3 total players and 6 total heros during that game. I think the problem occurred around the 30 minute mark. I've played that hero many times and not had any problems.
 
Level 18
Joined
Aug 23, 2008
Messages
2,319
You said that 2 players control 1 unit? You mean as in Share Unit Control? My plain guess is that the first player couldn't do anything after the second player did something. So what did the second player do when the first player lost control? Or does that problem always occur after about 30 minutes? In the latter case, check for any triggers activating during that time.
 
Level 2
Joined
Sep 20, 2008
Messages
8
No, sorry, i meant there were two of the same heros being used by different players. I thought that might have something to do with it. I haven't had trouble when there was only one of those heros on the map.

I think unit control was shared though, however, I don't think that is related, but i could be wrong. None of the players could control the hero when i tried that. I've only seen it happen once with this hero. I could probably do some more trials where i play with like 4 of that hero at once and see what happens. The only triggers really are ones that spawn units to attack. Pretty straight forward.


On a different map i've had the same thing happen with different heros. One is a werewolf. A trigger removes his transformation ability during the day time and adds it back during the night. He also only has the devour skill when he transforms. He can keep consuming though if he transforms back to normal if he has already ate something. Sometimes i've had this guy stop responding in the same way as the other hero.

I've also had a "demon" hero who's transformation is basically metamorphosis. He has randomly decided he won't use the skill any more. I don't think I have any triggers involving him.
 
Level 2
Joined
Sep 20, 2008
Messages
8
The hero will actually keep doing whatever he was last told when he stops responding. So he will keep fighting and act normal other then the fact that he doesn't do what he is told at all.

If he dies and I revive him and if I set the way point he will run off and try to get there fighting everything on the way.

I'll post the map later or copy and paste the triggers since thats what everyone seems to be thinking.
 
Level 2
Joined
Sep 20, 2008
Messages
8
  • Events
    • Unit - A unit Is attacked
  • Conditions
    • (Unit-type of (Attacking unit)) Equal to Hero Chooser
  • Actions
    • Unit - Remove (Attacking unit) from the game
    • Unit - Create 1 (Unit-type of (Attacked unit)) for (Owner of (Attacking unit)) at (Center of LoC Base <gen>) facing Default building facing degrees
    • If ((Number of units in (Units in Hero Selection Area <gen>)) Equal to 22) then do (Unit Group - Pick every unit in (Units in Hero Selection Area <gen>) and do (Unit - Remove (Picked unit) from the game)) else do (Do nothing)
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Number of living Fortress units owned by (Owner of (Attacking unit))) Equal to 0
        • (Owner of (Attacking unit)) Equal to Player 1 (Red)
      • Then - Actions
        • Unit - Create 1 Fortress for Player 1 (Red) at (Center of P1 Base <gen>) facing Default building facing degrees
      • Else - Actions
        • Do nothing
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Number of living Fortress units owned by (Owner of (Attacking unit))) Equal to 0
        • (Owner of (Attacking unit)) Equal to Player 2 (Blue)
      • Then - Actions
        • Unit - Create 1 Fortress for Player 2 (Blue) at (Center of P2 Base <gen>) facing Default building facing degrees
      • Else - Actions
        • Do nothing
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Number of living Fortress units owned by (Owner of (Attacking unit))) Equal to 0
        • (Owner of (Attacking unit)) Equal to Player 3 (Teal)
      • Then - Actions
        • Unit - Create 1 Fortress for Player 3 (Teal) at (Center of P3 Base <gen>) facing Default building facing degrees
      • Else - Actions
        • Do nothing
    • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
      • If - Conditions
        • (Number of living Fortress units owned by (Owner of (Attacking unit))) Equal to 0
        • (Owner of (Attacking unit)) Equal to Player 4 (Purple)
      • Then - Actions
        • Unit - Create 1 Fortress for Player 4 (Purple) at (Center of P4 Base <gen>) facing Default building facing degrees
      • Else - Actions
        • Do nothing
So from what I have been reading this trigger could be my problem and at the very least i need to remove do nothing.

Both my maps have that trigger and I'm thinking that this part

  • If ((Number of units in (Units in Hero Selection Area <gen>)) Equal to 22) then do (Unit Group - Pick every unit in (Units in Hero Selection Area <gen>) and do (Unit - Remove (Picked unit) from the game)) else do (Do nothing)
could be a problem? It's meant to remove all the heros from the map after all the players have chosen. 22=the number of hero units. If there are more then 22 then there are still wisps.


I did a test on this map with two "abomination" heros and two "werewolf" heros and one of the werewolfs stopped working. First the transformation greyed out and become unusable. (no triggers that do anything with that skill) then whenever he was in a fight he wouldn't do anything he was told. After he respawed and was away from enemies he would do what he was told except for transform which was greyed out. If he got into a fight he wouldn't listen to anything again. Going to try disabling the "picked units" trigger and removing "do nothing" from the triggers and see if it malfunctions. I dont know why that would cause it but anything is worth a try.

edit: those changes did not fix it. So it wasnt anything to do with the picked part of that trigger or do nothing actions.
 
Last edited:
Level 2
Joined
Sep 20, 2008
Messages
8
Okay I have attached the whole map now.

I don't think any of my other triggers are suspicious. But i'm no expert.

This map uses a bunch of custom models (from this site, love this place) but it happens on my other map that uses no custom anything.

This map and the other older map have some similarities, I copied over most of the stuff in the object editor and a few of the triggers.

Last time I tested this I used 2 abomination and 2 werewolf (the human unit when you are choosing) and one of the werewolfs had the problem. It seems to happen the most with characters that can "transform" but also happen to one that can't so I don't know why it hits the werewolf the most. I never had my archer or assassin characters have the problem.

Also I noticed this was moved to triggers because that's what we were talking about but I'm really not sure that is the problem.
 

Attachments

  • Lords of Chaos III.28.w3x
    1.5 MB · Views: 81
Status
Not open for further replies.
Top