I made a game (ASTD) and it’s a tower defense, and the house won’t spawn. How come?
lol idk but that’s just funny
The enemies like it…
Well what’s your script for spawning the house?
There’s literally a “create (house) for (friendly ai) at (house spawn)”…
Would you mind sending a screenshot of that and its surrounding actions as well? And what is the value of friendly ai
?
If friendly ai is a player type, then how can you create a unit for it?
create (house) for (friendly ai) at (house spawn)
Units have to be created for players. A player type is something that a player can be assigned to.
No wait, actually it was a player variable.
Kyle are you dumb
Alright, what is the value of the variable? Is it Computer 1, Computer 2, etc. or undefined?
edit: ok nvm
I’m guessing what I did wrong was delete the “Current Wave”.
some sort of AI i assume I’ve used the template before
yep that auto to do it
I’ve used the template before
Well, I haven’t, and that doesn’t make me dumb, it just means that I have less experience with this certain template.
well actually I’m wrong the template would not need current wave to summon the unit
show us the spawning scrip because its easier to tell whats wrong
I was fiddling around with deleting various stuff, maybe I deleted some of the more important ones?
Hangon, you’re sure that the friendly ai variable is set to Computer 1, right?