Hello everyone in this old thread.
I cannot get my game to set Killers to follow player using pathfinding with more than one instance of the object Killer.
I made it work the first time but then I changed the code alittle and now I cannot for the world get it to work without lag on the 2nd level.
If i start the 2nd level directly from leveleditor it works without lag.
But if I start the game from the menu as it is suppose to. Complete the level 1 and start level 2. As soon as a Killer enters the screen on level 2 it starts lagging.
I dont know what the diffrence between starting the layout for level 2 directly and going through each level correctly is and I don't know why it lags. (Something to do with the Follow loop every 0.2 sec?)
Hope you can help me solve this.
Best Regards
Zeleene
Edit: I am not allowed to upload the URL to the capx file so I will send it in split sections:
https
://drive.google
.com/file/d/0Bwc4-dz1U65TckQ4cVF6R0dLOFk
/view?usp=sharing