• 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] Question about game mode

Status
Not open for further replies.
Level 9
Joined
Oct 7, 2007
Messages
599
You make a trigger that does exactly that.

Event - Player 1 types as an exact match -
Conditions - Substring of typed string equal to "-" at (0,1)
Actions - Set HeroKillsNeeded to substring of type string at (1,3)

HeroKillsNeeded is a integer variable.

Then, you make another trigger counting the number of kills each player gets. When that number >= HeroKillsNeeded, you run victory for the player with the kills and defeat for everyone else.
 
Level 5
Joined
Oct 3, 2008
Messages
104
u need to know how to trigger victory and defeat conditions.
u must use a trigger, have whichever conditions u want, and then use the actions for victory and defeat. u must then make this trigger initially off, and turn it on via triggers based on chat.
if u dont know how to make a trigger, i suggest u read some tutorials for basic ones before attempting to use game modes
 
Status
Not open for further replies.
Top