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

Canot find Research-type Condition

Status
Not open for further replies.
Level 5
Joined
Feb 19, 2008
Messages
110
Hi im making a spawn based map, but i cant seem to find any Condition that checks what research is researched, if you understand :P Well, any help would be appreciated.
 
Try do like this:
  • Footman
    • Events
      • Unit - A unit Finishes research
    • Conditions
      • (Researched tech-type) Equal to Footman
    • Actions
      • Set SpawnType = 1
  • Knight
    • Events
      • Unit - A unit Finishes an upgrade
    • Conditions
      • (Researched tech-type) Equal to Knight
    • Actions
      • Set SpawnType = 2
  • Spawn
    • Events
      • Time - Every 1.00 seconds of game time
    • Conditions
    • Actions
      • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
        • If - Conditions
          • SpawnType Equal to 1
        • Then - Actions
          • Unit - Create 1 Footman for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
        • Else - Actions
          • If (All Conditions are True) then do (Then Actions) else do (Else Actions)
            • If - Conditions
              • SpawnType Equal to 2
            • Then - Actions
              • Unit - Create 1 Knight for Player 1 (Red) at (Center of (Playable map area)) facing Default building facing degrees
            • Else - Actions
              • Do nothing
(Replace Center of Playable map area with a region of choice)
 
Status
Not open for further replies.
Back
Top