Custom Scenario No Spawning
Posted: Sun Jan 24, 2016 7:43 am
Whenever i load up a Custom Scenario i have made, it starts me in god mode. i have not found a way to be able to play me scenarios as a player.
I remember in really old versios you could literally just place a character to play as.
In some of the newer versions, but still a while ago, you could put in lua code "/c game.players[1].character = game.createentity({name="player", position = {0,0}, force = game.forces.player})" to be able to spawn yourself in. but whenever i use it now it says theres no such thing as "createentity", so i put "create_entity" and it still wont work. if there's any other way to fix the lua code please comment.
Neither of those options exist any more. is there anyway to spawn a player any more? or is there only god mode, because that defeats the purpose completely.
I remember in really old versios you could literally just place a character to play as.
In some of the newer versions, but still a while ago, you could put in lua code "/c game.players[1].character = game.createentity({name="player", position = {0,0}, force = game.forces.player})" to be able to spawn yourself in. but whenever i use it now it says theres no such thing as "createentity", so i put "create_entity" and it still wont work. if there's any other way to fix the lua code please comment.
Neither of those options exist any more. is there anyway to spawn a player any more? or is there only god mode, because that defeats the purpose completely.