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

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.
 
Level 3
Joined
Oct 9, 2008
Messages
61
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.
Top