• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!
  • 🏆 Hive's 6th HD Modeling Contest: Mechanical is now open! Design and model a mechanical creature, mechanized animal, a futuristic robotic being, or anything else your imagination can tinker with! 📅 Submissions close on June 30, 2024. Don't miss this opportunity to let your creativity shine! Enter now and show us your mechanical masterpiece! 🔗 Click here to enter!

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