Search found 2 matches

by DrMohn
Wed Dec 07, 2022 1:24 pm
Forum: Modding help
Topic: By RCON spawned Biter won´t attack
Replies: 2
Views: 906

Re: By RCON spawned Biter won´t attack

thx!

i just tried it out and i really don´t get what i did wrong..


/sc local player = game.players['player']
local surface = player.surface for i = 1,10 do
local position = surface.find_non_colliding_position('small-biter', player.position, 100, 1)
if not position then rcon.print('') end ...
by DrMohn
Wed Dec 07, 2022 9:09 am
Forum: Modding help
Topic: By RCON spawned Biter won´t attack
Replies: 2
Views: 906

By RCON spawned Biter won´t attack

Hey Guys!

I must admid that i have pretty much no idea about programming LUA. What i do is a little Python and I have a little Python-based Bot which interacts with my Factorio-Server by RCON.
I tried google for some hours now but just can´t find any solution. You guys probably will be able to help ...

Go to advanced search