hide object

Modders can post their questions on scripting and more.

Moderators: Slitherine Core, BA Moderators

Post Reply
enric
Brigadier-General - 8.8 cm Pak 43/41
Brigadier-General - 8.8 cm Pak 43/41
Posts: 1855
Joined: Sun May 15, 2011 8:47 am

hide object

Post 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...
pipfromslitherine
Site Admin
Site Admin
Posts: 9706
Joined: Wed Mar 23, 2005 10:35 pm

Re: hide object

Post by pipfromslitherine »

IIRC the code hides and unhides the save button and so it invalidating your script command.

Cheers

Pip
follow me on Twitter here
Post Reply

Return to “Battle Academy 2: Modders Corner”