im trying to create an ai with triggers that will automate my scv units. how would i create a variable that constantly updates with the value of the players current vespien gas?
2. Dude, the game HAS a variable with current vespene gas, or else the game wouldn't know how much vespene you have when playing.
It's under Player Properties and can be used in any variable that is standard integer.
There are default AI behaviors attached to resources that will prioritize as well as set limits on the various resources in the game for gathering units.
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
im trying to create an ai with triggers that will automate my scv units. how would i create a variable that constantly updates with the value of the players current vespien gas?
1. Automate them to do WHAT?!
2. Dude, the game HAS a variable with current vespene gas, or else the game wouldn't know how much vespene you have when playing. It's under Player Properties and can be used in any variable that is standard integer.
There are default AI behaviors attached to resources that will prioritize as well as set limits on the various resources in the game for gathering units.