[0.16.28] God controller does not raise on_player_changed_po
Posted: Wed Mar 14, 2018 12:19 am
A player with no associated character moving around does not raise an on_player_changed_position event, only if the player zooms in or out the event is raised.
Expected behavior: on_player_changed_position should be raised normally for god controllers.
Democode:
Expected behavior: on_player_changed_position should be raised normally for god controllers.
Democode:
Code: Select all
/c
script.on_event(defines.events.on_player_changed_position,function(e)
game.print(serpent.line(game.players[e.player_index].position))
end)