• 🏆 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!
  • It's time for the first HD Modeling Contest of 2024. Join the theme discussion for Hive's HD Modeling Contest #6! Click here to post your idea!

[Need Info] [Data] How do I create a variable period or amount for a automated vespene refinery?

Status
Not open for further replies.
Level 9
Joined
Jan 17, 2009
Messages
372
Hello,

I am trying to make a vespene refinery that harvests at a rate that is proportional to a percent of its current health. So if the refinery is at full health (100%) then it will extract every 2.1 seconds like it does normally, But if it is at 50% health then it should harvest lets say every 4.2 seconds.

Does anyone have any insight on how to do this? I have tried looking at the individual fields but it looks like they only accept a concrete numerical value.
 
Level 1
Joined
Jul 10, 2009
Messages
3
Greetings, I believe i have a solution to your inquiry. Working from the Wings of Liberty Automated Refinery, you could make multiples of the harvesting behavior and control which one is active via validators. i can provide an example of what i mean if you would like.
 
Status
Not open for further replies.
Top