Page 1 of 1

Loaders, another order makes another result

Posted: Fri Jun 21, 2019 8:49 pm
by darkfrei
Hi!

I have small setup:
2019-06-21T22_42_12-Window.png
2019-06-21T22_42_12-Window.png (93.13 KiB) Viewed 619 times
If I choose the loader and set this console command than I get expected result:

Code: Select all

/c game.player.selected.loader_type="output" game.player.selected.direction=4
2019-06-21T22_44_01-Window.png
2019-06-21T22_44_01-Window.png (98.54 KiB) Viewed 619 times

But here is another result by another order of this commands:

Code: Select all

/c game.player.selected.direction=4 game.player.selected.loader_type="output"
2019-06-21T22_43_13-Window.png
2019-06-21T22_43_13-Window.png (92.93 KiB) Viewed 619 times
Thy I need to be careful with the order of this commands?

Code: Select all

/c game.player.print (game.player.selected.direction .. ' ' .. game.player.selected.loader_type)

Re: Loaders, another order makes another result

Posted: Fri Jun 21, 2019 11:19 pm
by Rseding91
Thanks for the report. Setting the loader type on an entity swaps the direction so if you set the direction first then change the direction it's different than setting the direction and then changing the type.