[0.14.x] Can't set player.direction from script

This subforum contains all the issues which we already resolved.
DevilXD
Fast Inserter
Fast Inserter
Posts: 213
Joined: Tue Aug 12, 2014 10:47 am
Contact:

[0.14.x] Can't set player.direction from script

Post by DevilXD »

The Searching Flashlight mod works by setting the player.character.direction value, however modifying this value (even via console) does nothing in 0.14. It was working correctly in 0.12 and 0.13.

Steps to reproduce:

Enter this commands one after another:
/c game.players[1].character.direction = 0
/c game.players[1].character.direction = 4

Expected behavior: Character turns.
Current behavior: Character is not turning.
kovarex
Factorio Staff
Factorio Staff
Posts: 8207
Joined: Wed Feb 06, 2013 12:00 am
Contact:

Re: [0.14.x] Can't set player.direction from script

Post by kovarex »

Thanks for the report, it is fixed for 0.14.6 now.
DevilXD
Fast Inserter
Fast Inserter
Posts: 213
Joined: Tue Aug 12, 2014 10:47 am
Contact:

Re: [0.14.x] Can't set player.direction from script

Post by DevilXD »

kovarex wrote:Thanks for the report, it is fixed for 0.14.6 now.
Thank you so much :)
Post Reply

Return to “Resolved Problems and Bugs”