• 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.

How would you set a food max???

Status
Not open for further replies.
Level 11
Joined
May 10, 2008
Messages
1,001
What i Mean is... i want to add a food max... lets say 100...
But the thing i wanna do is.. When a Unit Dies, If food is greater than 100, Remove Unit From Game... But the trigger wont work.. Heres what it looks like...
  • Max Minions
    • Events
      • Dialog - A dialog button is clicked for DialogueFood
    • Conditions
      • (Clicked dialog button) Equal to DialogueFoodButton[1]
      • (Player 1 (Red) Food used) Greater than 100
    • Actions
      • Player - Set Player 1 (Red) Food cap to 100
      • Unit - Remove (Last created unit) from the game
 
Status
Not open for further replies.
Top