LuaEntity.target= [(R?)/W] for Combat Robots
Posted: Thu Sep 10, 2020 3:37 pm
What?
The ability to change what entity a combat robot is following.
Why?
Because after staring at the doc for half an hour the only method i can see is to recreate the entire robot using surface.create_entity{target=NewOwnerLuaEntity}. Which is wasteful at best and breaks other mods at worst. It also produces a slight optical "bumb" because the new robots start at a different animation frame.
What for?
To smoothly change the appearanc of the player avatar by creating a new character and copying everything.
The ability to change what entity a combat robot is following.
Why?
Because after staring at the doc for half an hour the only method i can see is to recreate the entire robot using surface.create_entity{target=NewOwnerLuaEntity}. Which is wasteful at best and breaks other mods at worst. It also produces a slight optical "bumb" because the new robots start at a different animation frame.
What for?
To smoothly change the appearanc of the player avatar by creating a new character and copying everything.