http://www.mediafire.com/download/13drm2j8i14ydin/SlastrafProject.rar
I am sorry if you are confused a bit but explaining all would be too much for me, just download my project folder and you will understand everything fast (if you want to help me).
I want to make a tower defense game, where crawlers spawn on the map and attack the tower.
When you open the level01 map, basically nothing spawns (everything configurated right).
when you open the start map , the crawlers spawn, run for a bit towards the player, and then an error caused because the program couldnt find the target (player) in the monsterai script(
GetPosition: a nil value).
The last should not be happening, however I dont know why there is a problem with the Target since its assigned.
But not looking at that I added self:SpawnEnemy(1,1) in the start function of the zombieSpawner script,
and in the SpawnerUpdate function only for testing both options of spawning a crawler
Both dont seem to do anything in the level01 map.
PM: shooting isnt implemented in the downloadable project , as well as getting hit.