Special Units don't join attacks

Level 12
Joined
Aug 3, 2021
Messages
435
Hello It's Pekisa7. I have recently changed units on the bottom half of my map . I have written the integer and CampaingDefenderEx for those units in my jass script. I set the variables for those units in my initilization. But they still don't join the attack waves. The units I am talking about are commander Gartak , commander Zolas and Omadas. Uogonnash is now a doom guard he works just fine. Also all of these commanders are preplaced units. Can someone help me fix this. I am sorry for bombarding you with treads but I relly need help. Hello does anyone know?
  • Actions
    • Trigger - Run Elevators <gen> (checking conditions)
    • Trigger - Run Cinematic Delete Units <gen> (checking conditions)
    • Trigger - Run Vrykul Spawn <gen> (checking conditions)
    • Trigger - Run Barrels and Barricades Death <gen> (checking conditions)
    • Trigger - Run Ivunreable Barrels and Barricades <gen> (checking conditions)
    • Trigger - Run Visibillty <gen> (checking conditions)
    • Trigger - Run Barrels <gen> (checking conditions)
    • Trigger - Run Disabled Expirience <gen> (checking conditions)
    • Trigger - Run Animations <gen> (checking conditions)
    • Trigger - Run Player Propreties <gen> (checking conditions)
    • Trigger - Run Disabled Expirience <gen> (checking conditions)
    • Set Arthas_TheLichKing = Arthas 0023 <gen>
    • Set BlueHorsman = Illias the Great 2616 <gen>
    • Set BlackHorseman = Targon Wolfclaw 2723 <gen>
    • Set GreenPaladin = Kalar Seabright 2722 <gen>
    • Set TealElder = Elden Sunreaver 2657 <gen>
    • Set GrayDwarf = Bron the Mighty 2662 <gen>
    • Set VioletArchmage = Haros the Magnificent 2641 <gen>
    • Set RedKnight = Mardak the Axeslicer 2623 <gen>
    • Set LightBlueWarrior = Gregory the Wise 1158 <gen>
    • Set Barrels = (Matching destructible)
    • Set Commander_Omadas = Commander Omadas 3684 <gen>
    • Set Commander_Zolas = Commander Zolas 3685 <gen>
    • Set Commander_Gartak = Commander Gar'tak 0513 <gen>
    • Set Uogonnash_DoomLord = Uogonnash 0218 <gen>
    • Set ZombieMaster = (Casting unit)
    • Set Villager = (Attacked unit)
    • Set Brute = (Trained unit)
    • Set SummoningSpire = (Constructed structure)
    • Set Zombies = (Ownership-changed unit)
    • Set Normal = DialogButtonArray[0]
    • Set Hard = DialogButtonArray[1]
    • Set Abomination = (Dying unit)
    • Set Vrykul = (Triggering unit)
    • Set RunnerSpawnBuilding = Farm 2661 <gen>
    • Set RunnerVariableTarget = RedirectWest <gen>
    • Set Villager = (Picked unit)
    • Set DeathTower = (Casting unit)
    • Set PlagueSpreader = Plague Spreader 3678 <gen>
    • Set Loarderon_Key = Loarderon Throne Room Key 2482 <gen>
    • Set BloodKey = Blood Key 3709 <gen>
    • Set MoonKey = Moon Key 3710 <gen>
    • Set SunKey = Sun Key 3711 <gen>
    • Set HumanTransportShip = (Trained unit)
    • Set Orange_Attack_Group = (Units owned by Player 6 (Orange))
    • Set Brown_Attack_Group = (Units owned by Player 12 (Brown))
    • Quest - Create a Optional, undiscovered quest titled Magic Valutes with the description Gregory's forces ha..., using icon path ReplaceableTextures\CommandButtons\BTNMagicVault.blp
    • Set MagicValuts = (Last created quest)
    • Quest - Create a quest requirement for MagicValuts with the description - Destroy the magic...
    • Set MagicValutsReq1 = (Last created quest requirement)
    • Unit Group - Pick every unit in (Units of type Magic Vault) and do (Actions)
      • Loop - Actions
        • Unit Group - Add (Picked unit) to MagicValutGroup
        • Set TotalValuts = (Number of units in MagicValutGroup)
    • -------- Selected Unit and Invunreable Units --------
    • Selection - Select Arthas_TheLichKing
    • Unit - Make Arcane Vault (Netrual Shop) 0779 <gen> Invulnerable
    • Unit - Make Fruit Stand 1513 <gen> Invulnerable
    • Unit - Make Fruit Stand 1512 <gen> Invulnerable
    • Unit - Make Fruit Stand 1613 <gen> Invulnerable
    • Unit - Make Fruit Stand 0073 <gen> Invulnerable
    • -------- Player Color --------
    • Game - Disable ally color button and Disable creep camp button
    • Custom script: call DisableTrigger(bj_cineSceneBeingSkipped)
 

Attachments

Last edited:
Back
Top