I'm having difficulty using the supplies for determining when to build something, say i want to build a supply depot while the supply was >=8 and <=11. The trigger triggers, and i get no errors but no supply depot gets built :(
No, but it does change the solution. If it is an AI order, that means it will only be executed if the player that owns the unit has enough resources, and if the order is in the players APM restraint. Make sure the APM restraint is not 0 or something really low for the difficulty you have it set to. I'm not sure if the default APM restraints are set if you delete the default AI, I have never tried.
Also, make sure that there isn't something else that could be preventing the depot from being built. Remember that AI orders are actually suggestions, and if the AI decides that it can't complete the order, it will not.
Well i've set the apm to 200, so it shouldnt be a problem there is not anything else running except training scvs which i have paused at 8 scvs currently. The problem really is that i've loaded the campaign ai i guess, because there is a lot of garbage there that i dont really want, but i dont know if i can script an ai that's not based on say the campaign ai. If i could i could get rid of all the garbage functions that i dont want at the moment.
Hmmm not quite sure how to modify an AI, only made ones from scratch. Sorry, can't help you any further with this one. Unless your map is a campaign map, or is a melee map, I would recommend re-writing the AI from scratch. Otherwise, I would try and find some people who only make AI's (Eagle?) and PM them for some help.
Yeah i do want to rewrite the ai from scratch, that's what im trying to do with triggers, but im just learning atm so i have no clue what to modify / create if i want an ai from scratch, if you can give me a nudge in the right direction it's definatley the way i wanna go. i'm not really interested in the custom ai!
I feel kind of dumb you know, but i've not got any mapmaking experience from any other games etc, i just have no clue :D
Edit 2: Nvm, i actually found some reference to what to do. So here is a followup question, if i script an ai from scratch. Can i implement it in my map? and others can play it with the ai i created without them needing the actual file that i modified? or how exactly does that work?
I'm having difficulty using the supplies for determining when to build something, say i want to build a supply depot while the supply was >=8 and <=11. The trigger triggers, and i get no errors but no supply depot gets built :(
@Qiw: Go
How are you building the supply depot? With an AI order? With a create unit function? With an issue order?
Great to be back and part of the community again!
@TacoManStan:
I was building with an ai order, is there a problem with that?
@Qiw: Go
No, but it does change the solution. If it is an AI order, that means it will only be executed if the player that owns the unit has enough resources, and if the order is in the players APM restraint. Make sure the APM restraint is not 0 or something really low for the difficulty you have it set to. I'm not sure if the default APM restraints are set if you delete the default AI, I have never tried.
Also, make sure that there isn't something else that could be preventing the depot from being built. Remember that AI orders are actually suggestions, and if the AI decides that it can't complete the order, it will not.
Great to be back and part of the community again!
@TacoManStan:
Well i've set the apm to 200, so it shouldnt be a problem there is not anything else running except training scvs which i have paused at 8 scvs currently. The problem really is that i've loaded the campaign ai i guess, because there is a lot of garbage there that i dont really want, but i dont know if i can script an ai that's not based on say the campaign ai. If i could i could get rid of all the garbage functions that i dont want at the moment.
@Qiw: Go
Hmmm not quite sure how to modify an AI, only made ones from scratch. Sorry, can't help you any further with this one. Unless your map is a campaign map, or is a melee map, I would recommend re-writing the AI from scratch. Otherwise, I would try and find some people who only make AI's (Eagle?) and PM them for some help.
Great to be back and part of the community again!
@TacoManStan:
Yeah i do want to rewrite the ai from scratch, that's what im trying to do with triggers, but im just learning atm so i have no clue what to modify / create if i want an ai from scratch, if you can give me a nudge in the right direction it's definatley the way i wanna go. i'm not really interested in the custom ai!
I feel kind of dumb you know, but i've not got any mapmaking experience from any other games etc, i just have no clue :D
Edit 2: Nvm, i actually found some reference to what to do. So here is a followup question, if i script an ai from scratch. Can i implement it in my map? and others can play it with the ai i created without them needing the actual file that i modified? or how exactly does that work?