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

autoresearch trigger help

Status
Not open for further replies.
Level 7
Joined
Feb 14, 2008
Messages
289
I tried making a trigger that allows this. but it failed.

bascily event is, when a research finishes. the condition is a specific research, and the action is that the blacksmith continues the research.

but i dont know how to make it. also i dont know if it will cause a conflict. such as if you have 4-5 researches going, when one finishes i want its next level to be last in the queue. not first. i dont know if it will cause that or not.
 
Level 9
Joined
Oct 7, 2007
Messages
599
ok i tried but. but when i did, i had 6 other researches in the queue, but it only researched the 1 and skipped them all. how do i add research to the queue this way? so its basicly researches everything in a loop?

Perhaps you could implement a "queue" of sorts, and have it store down the research whenever you begin to research it? This depends on being able to get the research-ID on the event "When a unit begins to research".
 
Level 16
Joined
Jul 21, 2008
Messages
1,121
Try this:

  • Events
    • Unit - A unit Finishes research
  • Conditions
  • Actions
    • If - Conditions
      • (Researched tech-type) Equal to Research1
    • Then -Actions
      • Unit - Order (Researching unit) to research Research2
    • If - Conditions
      • (Researched tech-type) Equal to Research2
    • Then -Actions
      • Unit - Order (Researching unit) to research Research3
    • If - Conditions
      • (Researched tech-type) Equal to Research3
    • Then -Actions
      • Unit - Order (Researching unit) to research Research4
  • Comment ---- and so on -----
I hope this helps :)
 
Status
Not open for further replies.
Top