Page 1 of 1

hide object

Posted: Thu Jan 21, 2016 10:39 am
by enric
Should this hide the object?

SetUIObjectVisible("BattleMPSaveButton", 0);

Placed it in (FUNCTION STARTTURN(side) )

but using

SetUIObjectEnabled("BattleMPSaveButton", 0);

the object is disabled correctly...

Re: hide object

Posted: Thu Jan 21, 2016 4:05 pm
by pipfromslitherine
IIRC the code hides and unhides the save button and so it invalidating your script command.

Cheers

Pip