Hi,
about the player.set_gui_arrow function, which is very useful, it seems that if you change the player.character, the arrow dissapears. It appears again if you go back in the original character. But as this function is link to the player and not the the character-entity, teh arrow should remain visible even if the player change character, no ?
EDIT : infact, after testings, there can be an arrow per character. In player.char1, you can have an arrow pointing on entity4, and in player.char2, you can have an arrow pointing on entity5. Switching from char1 to char2 will switch arrows. So either this arrow is player dependant (which I prefer because it's a gui help to the player), or it is character dependant.
set_gui_arrow and character change
set_gui_arrow and character change
My mods on the Factorio Mod Portal 

Re: set_gui_arrow and character change
The arrow is linked to the character not the player.
If you want to get ahold of me I'm almost always on Discord.
Re: set_gui_arrow and character change
So it is not very logical that the function is linked to the player... When you switch character, you can left unwanted arrow on the previous character.Rseding91 wrote:The arrow is linked to the character not the player.
My mods on the Factorio Mod Portal 

Re: set_gui_arrow and character change
Most all actions done through the lua API are applied to the character.
LuaPlayer is just a wrapper around the character entity in most instances.
LuaPlayer is just a wrapper around the character entity in most instances.
If you want to get ahold of me I'm almost always on Discord.
Re: set_gui_arrow and character change
ok no problem. Good to know anyway 
by the way, Rseding, while you are around, an idea with this one : viewtopic.php?f=25&t=28551 ?

by the way, Rseding, while you are around, an idea with this one : viewtopic.php?f=25&t=28551 ?
My mods on the Factorio Mod Portal 

Re: set_gui_arrow and character change
There's currently no way to just "disable" the energy requirement for an entity.binbinhfr wrote:ok no problem. Good to know anyway
by the way, Rseding, while you are around, an idea with this one : viewtopic.php?f=25&t=28551 ?
If you want to get ahold of me I'm almost always on Discord.
Re: set_gui_arrow and character change
so no way to make a radar with an internal infinite energy source ?Rseding91 wrote:There's currently no way to just "disable" the energy requirement for an entity.
even with a hiden linked entity ?
My mods on the Factorio Mod Portal 
