1
2
3
4
2
3
4
parse("spawnobject 20 "..tx.." "..ty.." 0 0 "..player(id,"team").." "..id) --To ensure everything is alright print("spawnobject 20 "..tx.." "..ty.." 0 0 "..player(id,"team").." "..id)
ty and tx are tiles, everything else is clear I guess.
It spawns a netural mine on ty,tx. It simply ignores the player(id,"team") parameter.
Note:Other buildings spawn normally.