Can't access spawn



  • I named my spawn "Home Base" and because I added a space in the name I can't find the spawn in Game.spawns..

    Anyone know how I would go about doing this?
    For now I use a for loop to get the first spawn in the list and then break out of the loop, but that is not really a viable way of doing it.


  • YP

    did you try Game.spawns["Home Base"] ?