• 🏆 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!

[Trigger] Gui 2 triggers pls help. (Simple) + rep

Status
Not open for further replies.
Level 19
Joined
Feb 15, 2008
Messages
2,184
Wonder how i make an only hero mode.

I have 2 heroes in my map. So if i type -om then i only use the one hero the other one gets removed.

Kill system win.

So after team 1 killed team 2 200 times then team 2 gets defeated and team 1 victory. With diffrent modes.

25 50 75 100 150 200 300 And Unlimited.

Thats basicly all thnx.
 
Level 29
Joined
Mar 10, 2009
Messages
5,016
I have 2 heroes in my map. So if i type -om then i only use the one hero the other one gets removed.

  • Actions
    • Interger = Random number between 1 and 2
    • If
      • Integer = 1
    • then
      • Unit - Remove Hero 1
    • else
      • Unit - Remove Hero 2
if you dont want 'random' then I suggest when you click the hero, then make it a variable called 'hero 1' whereas hero 1 is your clicked hero, then removed hero 2, whereas hero 2 is the unclicked hero...
 
Status
Not open for further replies.
Top