Page 1 of 1

[Harkonnen] [0.15.12] create/destroy_decoratives not doing anything.

Posted: Mon May 22, 2017 6:30 am
by Daid
I did some quick testing from the console window, and I couldn't get the create_decoratives or destroy_decoratives function to work at all.

/c game.surfaces[1].create_decoratives{check_collision=false, decoratives={{name="red-asterisk", position=game.player.position, amount=1}}}
/c game.surfaces[1].destroy_decoratives{{-100, -100}, {100, 100}}

Both don't seem to do anything for me.

Re: [Harkonnen] [0.15.12] create/destroy_decoratives not doing anything.

Posted: Fri Jun 02, 2017 10:52 am
by Harkonnen
For me they work fine (as per 0.15.16). First command creates one decorative near player, the second wipes them all out. I've checked it by starting a new game in 500x500 world.

Re: [Harkonnen] [0.15.12] create/destroy_decoratives not doing anything.

Posted: Fri Jun 02, 2017 1:14 pm
by posila
Daid wrote:Both don't seem to do anything for me.
Do you have rendering of decoratives disabled in graphics options?