I tried with game.enemy.force, but enemy is not a field, and I also tried looping throught the game table, but I see nothing...
Help plz
What is the enemy force?
Re: What is the enemy force?
It should be game.force.enemy
Re: What is the enemy force?
I also tried that, and it doesnt seem to workdrs9999 wrote:It should be game.force.enemy
Re: What is the enemy force?
oops.. sorry it is forceS
So e.g.
So e.g.
Code: Select all
game.createentity{name="creeper",position=game.player.character.position,force=game.forces.enemy}