• 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.
  • The Hive's 22nd Icon Contest: Creep Abilities is now concluded, time to vote for your favourite set of icons! Click here to vote!
  • ✅ The POLL for Hive's Texturing Contest #34 is OPEN! Vote for the TOP 3 SKINS! 🔗Click here to cast your vote!
  • ✅ The POLL for Hive's Techtree Contest #20 is OPEN! Vote for the TOP 3 FACTIONS! 🔗Click here to cast your vote!

TD Food Start Problem

Status
Not open for further replies.

SWATactics

S

SWATactics

Im making a TD and it's good so far, but I have to computers sending creeps, though when one of their food goes to 0 the level starts, but part of Player 11 creeps are still on the map. What im trying to say is how do you make it when the trigger starts, when BOTH player 11 and player 12's food go to 0, not seperate.
 
This is the exact code, just in case you wanted it:
  • Send
    • Events
      • Time - Every 2.00 seconds of game time
    • Conditions
      • ((Player 11 (Dark Green) Maximum Food Used) Equal to 0) and ((Player 12 (Brown) Maximum Food Used) Equal to 0)
    • Actions
      • -------- SEND UNITS NOW --------
((Player 11 (Dark Green) Maximum Food Used) Equal to 0) is a integer comparison under player - player score.
 
Status
Not open for further replies.
Back
Top