It won't spawn!

I made a game (ASTD) and it’s a tower defense, and the house won’t spawn. How come?

2 Likes

lol idk but that’s just funny :rofl:

2 Likes

The enemies like it…

2 Likes

Well what’s your script for spawning the house?

2 Likes

There’s literally a “create (house) for (friendly ai) at (house spawn)”…

2 Likes

Would you mind sending a screenshot of that and its surrounding actions as well? And what is the value of friendly ai?

2 Likes

It’s the modd.io tower defence template game

2 Likes

friendly ai is a player type… anyways it’s the modd.io tower defense template lol

2 Likes

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.

2 Likes

No wait, actually it was a player variable.

2 Likes

Kyle are you dumb
Screenshot 2022-02-09 4.54.05 PM

2 Likes

Alright, what is the value of the variable? Is it Computer 1, Computer 2, etc. or undefined?
edit: ok nvm

2 Likes

I’m guessing what I did wrong was delete the “Current Wave”.

2 Likes

some sort of AI i assume I’ve used the template before

2 Likes

yep that auto to do it

2 Likes

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.

2 Likes

well actually I’m wrong the template would not need current wave to summon the unit

2 Likes

show us the spawning scrip because its easier to tell whats wrong

2 Likes

I was fiddling around with deleting various stuff, maybe I deleted some of the more important ones?

2 Likes

Hangon, you’re sure that the friendly ai variable is set to Computer 1, right?

2 Likes