Page 1 of 1

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

Posted: Thu Sep 08, 2016 6:56 am
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.

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

Posted: Mon Sep 12, 2016 11:51 am
by kovarex
Thanks for the report, it is fixed for 0.14.6 now.

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

Posted: Mon Sep 12, 2016 5:00 pm
by DevilXD
kovarex wrote:Thanks for the report, it is fixed for 0.14.6 now.
Thank you so much :)