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