• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

my system killer don't work

Status
Not open for further replies.
Level 3
Joined
May 30, 2012
Messages
29
Player for team :

Player 1 : User Player 2 : User player 3 : User Player 4 : User Player 5 : User
Player 6 : NONE

Player 7 : user Player 8 : User Player 9 : user Player 10 : user Player 11 : User
Player 12 : NONE

Players 6 and Player 12 were Computer. but now how i want add observers, i should remove players computeres (6 and 12 )

i make it with Triggers :

  • Names
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Player - Set name of Player 6 (Orange) to HUM
      • Player - Set name of Player 12 (Brown) to UD

  • Teams
    • Events
      • Map initialization
    • Conditions
    • Actions
      • Wait 10.00 seconds
      • Player - Make Player 6 (Orange) treat Player 1 (Red) as an Ally with shared vision
      • Player - Make Player 6 (Orange) treat Player 2 (Blue) as an Ally with shared vision
      • Player - Make Player 6 (Orange) treat Player 3 (Teal) as an Ally with shared vision
      • Player - Make Player 6 (Orange) treat Player 4 (Purple) as an Ally with shared vision
      • Player - Make Player 6 (Orange) treat Player 5 (Yellow) as an Ally with shared vision
      • Player - Make Player 12 (Brown) treat Player 7 (Green) as an Ally with shared vision
      • Player - Make Player 12 (Brown) treat Player 8 (Pink) as an Ally with shared vision
      • Player - Make Player 12 (Brown) treat Player 9 (Gray) as an Ally with shared vision
      • Player - Make Player 12 (Brown) treat Player 10 (Light Blue) as an Ally with shared vision
      • Player - Make Player 12 (Brown) treat Player 11 (Dark Green) as an Ally with shared vision
      • Player - Make Player 1 (Red) treat Player 6 (Orange) as an Ally with shared vision
      • Player - Make Player 2 (Blue) treat Player 6 (Orange) as an Ally with shared vision
      • Player - Make Player 3 (Teal) treat Player 6 (Orange) as an Ally with shared vision
      • Player - Make Player 4 (Purple) treat Player 6 (Orange) as an Ally with shared vision
      • Player - Make Player 5 (Yellow) treat Player 6 (Orange) as an Ally with shared vision
      • Player - Make Player 7 (Green) treat Player 12 (Brown) as an Ally with shared vision
      • Player - Make Player 8 (Pink) treat Player 12 (Brown) as an Ally with shared vision
      • Player - Make Player 9 (Gray) treat Player 12 (Brown) as an Ally with shared vision
      • Player - Make Player 10 (Light Blue) treat Player 12 (Brown) as an Ally with shared vision
      • Player - Make Player 11 (Dark Green) treat Player 12 (Brown) as an Ally with shared vision

The problem is it System Killer, dont work , if game is out observers

I mean 5x5 Dont 2 obs places. game is fine "normal" system work fine.

But if we play 5x5 with 2 observers places, system killer dont work, only work the trigger "herokillerPC". and it is bad because it only is for "computer" i mean it players 6 and 12 (maked with triggers)

  • HerokillerPC
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Triggering unit) is A Hero) Equal to True
          • ((Killing unit) belongs to an enemy of (Triggering player)) Equal to True
          • ((Owner of (Killing unit)) controller) Equal to (Player 6 (Orange) controller)
          • ((Owner of (Killing unit)) controller) Equal to (Player 12 (Brown) controller)
          • (Triggering player) Not equal to Player 1 (Red)
          • (Triggering player) Not equal to Player 7 (Green)
    • Actions
      • Player - Set (Triggering player) Current gold to (((Triggering player) Current gold) - ((Integer((Real((Hero level of (Triggering unit)))))) x 50))
      • Player Group - Pick every player in (All allies of (Owner of (Killing unit))) and do (Actions)
        • Loop - Actions
          • Player - Set (Picked player) Current gold to (((Picked player) Current gold) + ((Integer((Real((Hero level of (Triggering unit)))))) x 10))
      • Game - Display to (All players) the text: ((Name of (Triggering player)) + ( lost + (String(((Integer((Real((Hero level of (Triggering unit)))))) x 50)))))
      • Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( gain + (String(((Integer((Real((Hero level of (Triggering unit)))))) x 50)))))
      • Game - Display to (All players) the text: And distributed to ...


IT TRIGGERS should work always with obs or our obs,

  • Herokiller FB
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Triggering unit) is A Hero) Equal to True
          • ((Killing unit) belongs to an enemy of (Triggering player)) Equal to True
          • ((Owner of (Killing unit)) controller) Not equal to Hostile
          • ((Owner of (Killing unit)) controller) Not equal to (Player 6 (Orange) controller)
          • ((Owner of (Killing unit)) controller) Not equal to (Player 12 (Brown) controller)
          • (Owner of (Triggering unit)) Not equal to Player 1 (Red)
          • (Owner of (Triggering unit)) Not equal to Player 7 (Green)
    • Actions
      • Player - Set (Triggering player) Current gold to (((Triggering player) Current gold) - ((Integer((Real((Hero level of (Triggering unit)))))) x 50))
      • Player - Set (Owner of (Killing unit)) Current gold to (((Owner of (Killing unit)) Current gold) + ((Integer((Real((Hero level of (Triggering unit)))))) x 50))
      • Player - Set (Owner of (Killing unit)) Current lumber to (((Owner of (Killing unit)) Current lumber) + 4)
      • Hero - Add (((Level of (Triggering unit)) x 20) + 100) experience to (Killing unit), Hide level-up graphics
      • Game - Display to (All players) the text: ((***** + |cffdf0000First Blood|r) + *****)
      • Game - Display to (All players) the text:
      • Game - Display to (All players) the text: ((Name of (Triggering player)) + ( lost + (String(((Integer((Real((Hero level of (Triggering unit)))))) x 50)))))
      • Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( gain + ((String(((Integer((Real((Hero level of (Triggering unit)))))) x 50))) + gold and 4 wood)))
      • Wait 0.10 seconds
      • Trigger - Turn on Herokiller <gen>
      • Trigger - Turn on Herokiller Captain <gen>
      • Trigger - Turn off (This trigger)
      • Trigger - Turn off Herokiller FB Captain <gen>
  • Herokiller FB Captain
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Triggering unit) is A Hero) Equal to True
          • ((Killing unit) belongs to an enemy of (Triggering player)) Equal to True
          • ((Owner of (Killing unit)) controller) Not equal to Hostile
          • ((Owner of (Killing unit)) controller) Not equal to (Player 6 (Orange) controller)
          • ((Owner of (Killing unit)) controller) Not equal to (Player 12 (Brown) controller)
          • Or - Any (Conditions) are true
            • Conditions
              • (Triggering player) Equal to Player 1 (Red)
              • (Triggering player) Equal to Player 7 (Green)
    • Actions
      • Player - Set (Triggering player) Current gold to (((Triggering player) Current gold) - ((Integer((Real((Hero level of (Triggering unit)))))) x 50))
      • Player - Set (Owner of (Killing unit)) Current gold to (((Owner of (Killing unit)) Current gold) + ((Integer((Real((Hero level of (Triggering unit)))))) x 75))
      • Player - Set (Owner of (Killing unit)) Current lumber to (((Owner of (Killing unit)) Current lumber) + 6)
      • Hero - Add (((Level of (Triggering unit)) x 40) + 100) experience to (Killing unit), Hide level-up graphics
      • Game - Display to (All players) the text: ((***** + |cffdf0000Captain First Blood|r) + *****)
      • Game - Display to (All players) the text:
      • Game - Display to (All players) the text: ((Name of (Triggering player)) + ( lost + (String(((Integer((Real((Hero level of (Triggering unit)))))) x 50)))))
      • Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( gain + ((String(((Integer((Real((Hero level of (Triggering unit)))))) x 75))) + gold and 6 wood)))
      • Wait 0.10 seconds
      • Trigger - Turn on Herokiller <gen>
      • Trigger - Turn on Herokiller Captain <gen>
      • Trigger - Turn off Herokiller FB <gen>
      • Trigger - Turn off (This trigger)
  • Herokiller
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Triggering unit) is A Hero) Equal to True
          • ((Killing unit) belongs to an enemy of (Triggering player)) Equal to True
          • ((Owner of (Killing unit)) controller) Not equal to Hostile
          • ((Owner of (Killing unit)) controller) Not equal to (Player 6 (Orange) controller)
          • ((Owner of (Killing unit)) controller) Not equal to (Player 12 (Brown) controller)
          • (Owner of (Triggering unit)) Not equal to Player 1 (Red)
          • (Owner of (Triggering unit)) Not equal to Player 7 (Green)
    • Actions
      • Player - Set (Triggering player) Current gold to (((Triggering player) Current gold) - ((Integer((Real((Hero level of (Triggering unit)))))) x 50))
      • Player - Set (Owner of (Killing unit)) Current gold to (((Owner of (Killing unit)) Current gold) + ((Integer((Real((Hero level of (Triggering unit)))))) x 30))
      • Player - Set (Owner of (Killing unit)) Current lumber to (((Owner of (Killing unit)) Current lumber) + 2)
      • Hero - Add (((Level of (Triggering unit)) x 15) + 100) experience to (Killing unit), Hide level-up graphics
      • Game - Display to (All players) the text: ((Name of (Triggering player)) + ( lost + (String(((Integer((Real((Hero level of (Triggering unit)))))) x 50)))))
      • Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( gain + ((String(((Integer((Real((Hero level of (Triggering unit)))))) x 30))) + gold and 2 wood)))
  • Herokiller Captain
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Triggering unit) is A Hero) Equal to True
          • ((Killing unit) belongs to an enemy of (Triggering player)) Equal to True
          • ((Owner of (Killing unit)) controller) Not equal to Hostile
          • ((Owner of (Killing unit)) controller) Not equal to (Player 6 (Orange) controller)
          • ((Owner of (Killing unit)) controller) Not equal to (Player 12 (Brown) controller)
          • Or - Any (Conditions) are true
            • Conditions
              • (Triggering player) Equal to Player 1 (Red)
              • (Triggering player) Equal to Player 7 (Green)
    • Actions
      • Player - Set (Triggering player) Current gold to (((Triggering player) Current gold) - ((Integer((Real((Hero level of (Triggering unit)))))) x 50))
      • Player - Set (Triggering player) Current lumber to (((Triggering player) Current lumber) - 2)
      • Player - Set (Owner of (Killing unit)) Current gold to (((Owner of (Killing unit)) Current gold) + ((Integer((Real((Hero level of (Triggering unit)))))) x 30))
      • Player - Set (Owner of (Killing unit)) Current lumber to (((Owner of (Killing unit)) Current lumber) + 3)
      • Hero - Add (((Level of (Triggering unit)) x 22) + 100) experience to (Killing unit), Hide level-up graphics
      • Game - Display to (All players) the text: |cffdf0000Captain|r
      • Game - Display to (All players) the text: ((Name of (Triggering player)) + ( lost + (String(((Integer((Real((Hero level of (Triggering unit)))))) x 50)))))
      • Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( gain + ((String(((Integer((Real((Hero level of (Triggering unit)))))) x 30))) + gold and 3 wood)))

Normally, out it changes (with player 6 and 12 how computer) "Player properties" system was :


  • Herokiller
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Triggering unit) is A Hero) Equal to True
          • ((Killing unit) belongs to an enemy of (Triggering player)) Equal to True
          • ((Owner of (Killing unit)) controller) Not equal to Computer
          • ((Owner of (Killing unit)) controller) Not equal to Hostile
          • (Owner of (Triggering unit)) Not equal to Player 1 (Red)
          • (Owner of (Triggering unit)) Not equal to Player 7 (Green)
    • Actions
      • Player - Set (Triggering player) Current gold to (((Triggering player) Current gold) - ((Integer((Real((Hero level of (Triggering unit)))))) x 50))
      • Player - Set (Owner of (Killing unit)) Current gold to (((Owner of (Killing unit)) Current gold) + ((Integer((Real((Hero level of (Triggering unit)))))) x 30))
      • Player - Set (Owner of (Killing unit)) Current lumber to (((Owner of (Killing unit)) Current lumber) + 2)
      • Hero - Add (((Level of (Triggering unit)) x 15) + 100) experience to (Killing unit), Hide level-up graphics
      • Game - Display to (All players) the text: ((Name of (Triggering player)) + ( lost + (String(((Integer((Real((Hero level of (Triggering unit)))))) x 50)))))
      • Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( gain + ((String(((Integer((Real((Hero level of (Triggering unit)))))) x 30))) + gold and 2 wood)))
  • Herokiller Captain
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Triggering unit) is A Hero) Equal to True
          • ((Killing unit) belongs to an enemy of (Triggering player)) Equal to True
          • ((Owner of (Killing unit)) controller) Not equal to Computer
          • ((Owner of (Killing unit)) controller) Not equal to Hostile
          • Or - Any (Conditions) are true
            • Conditions
              • (Triggering player) Equal to Player 1 (Red)
              • (Triggering player) Equal to Player 7 (Green)
    • Actions
      • Player - Set (Triggering player) Current gold to (((Triggering player) Current gold) - ((Integer((Real((Hero level of (Triggering unit)))))) x 50))
      • Player - Set (Triggering player) Current lumber to (((Triggering player) Current lumber) - 2)
      • Player - Set (Owner of (Killing unit)) Current gold to (((Owner of (Killing unit)) Current gold) + ((Integer((Real((Hero level of (Triggering unit)))))) x 30))
      • Player - Set (Owner of (Killing unit)) Current lumber to (((Owner of (Killing unit)) Current lumber) + 3)
      • Hero - Add (((Level of (Triggering unit)) x 22) + 100) experience to (Killing unit), Hide level-up graphics
      • Game - Display to (All players) the text: |cffdf0000Captain|r
      • Game - Display to (All players) the text: ((Name of (Triggering player)) + ( lost + (String(((Integer((Real((Hero level of (Triggering unit)))))) x 50)))))
      • Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( gain + ((String(((Integer((Real((Hero level of (Triggering unit)))))) x 30))) + gold and 3 wood)))
  • HerokillerPC
    • Events
      • Unit - A unit Dies
    • Conditions
      • And - All (Conditions) are true
        • Conditions
          • ((Triggering unit) is A Hero) Equal to True
          • ((Killing unit) belongs to an enemy of (Triggering player)) Equal to True
          • ((Owner of (Killing unit)) controller) Equal to Computer
          • (Owner of (Triggering unit)) Not equal to Player 1 (Red)
          • (Owner of (Triggering unit)) Not equal to Player 7 (Green)
    • Actions
      • Player - Set (Triggering player) Current gold to (((Triggering player) Current gold) - ((Integer((Real((Hero level of (Triggering unit)))))) x 50))
      • Player Group - Pick every player in (All allies of (Owner of (Killing unit))) and do (Actions)
        • Loop - Actions
          • Player - Set (Picked player) Current gold to (((Picked player) Current gold) + ((Integer((Real((Hero level of (Triggering unit)))))) x 10))
      • Game - Display to (All players) the text: ((Name of (Triggering player)) + ( lost + (String(((Integer((Real((Hero level of (Triggering unit)))))) x 50)))))
      • Game - Display to (All players) the text: ((Name of (Owner of (Killing unit))) + ( gain + (String(((Integer((Real((Hero level of (Triggering unit)))))) x 50)))))
      • Game - Display to (All players) the text: And distributed to ...
 
Status
Not open for further replies.
Top