/c local reach = 10000
game.player.force.character_build_distance_bonus = reach
game.player.force.character_reach_distance_bonus = reach
This command (as listed on the console Lua site) wont work - can anyone give me a helping hand?
The correct command for long reach is?
- brunzenstein
- Smart Inserter
- Posts: 1117
- Joined: Tue Mar 01, 2016 2:27 pm
- Contact:
Re: The correct command for long reach is?
These commands still work for long reach. You can see the difference if you zoom out, and try to delete an item at a far corner of the screen. It works.
The change is they don't work in Remote View, because it only does bot requests, not real "reach". I don't know if there's any way to get the old style of map view back that lets you use reach.
The change is they don't work in Remote View, because it only does bot requests, not real "reach". I don't know if there's any way to get the old style of map view back that lets you use reach.
- brunzenstein
- Smart Inserter
- Posts: 1117
- Joined: Tue Mar 01, 2016 2:27 pm
- Contact:
Re: The correct command for long reach is?
They don't work - thankfully Posila helped me out with the correct Lua commands:morsk wrote: ↑Tue Nov 19, 2024 10:47 pm These commands still work for long reach. You can see the difference if you zoom out, and try to delete an item at a far corner of the screen. It works.
The change is they don't work in Remote View, because it only does bot requests, not real "reach". I don't know if there's any way to get the old style of map view back that lets you use reach.
/c local reach = 10000
game.player.force.character_build_distance_bonus = reach
game.player.force.character_reach_distance_bonus = reach
game.player.force.character_resource_reach_distance_bonus = reach
game.player.force.character_item_drop_distance_bonus = reach
Re: The correct command for long reach is?
I mean it's obvious from your answer that it worked for build & reach distance, but not resource-reach and item-drop, and this is miscommunication. I will add the 2 new ones to the Wiki.
- brunzenstein
- Smart Inserter
- Posts: 1117
- Joined: Tue Mar 01, 2016 2:27 pm
- Contact:
- brunzenstein
- Smart Inserter
- Posts: 1117
- Joined: Tue Mar 01, 2016 2:27 pm
- Contact:
Re: The correct command for long reach is?
Hi morsk
Could you help me with another one:
How to clear console history?
player.clear_console()
dosesn work
Thanks in advance - Servus from Vienna
Re: The correct command for long reach is?
/clear will clear the console history displayed on the screen. The lua for it is /c game.player.clear_console() but there's no need to type it when /clear works.
If you want to clear the command history you see by pressing Up and Down in the chat box, I don't know any way to do this except editing player-data.json in your user data directory. Maybe there is another way.
If you want to clear the command history you see by pressing Up and Down in the chat box, I don't know any way to do this except editing player-data.json in your user data directory. Maybe there is another way.