ShowUIScreen

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

ShowUIScreen

Post by enric »

ShowUIScreen( "BattlePop0", "Anim1", "IDS_PONTOON", "BP0Image:US_infantry_head") ;
ShowUIScreenX( "BattlePop0", "Anim1", "IDS_PONTOON", "BHead0Image:US_infantry_head") ;

Which is the difference between those two functions?
I used the two because I see them used in other scripts, but I put one after the other in a a test scenario and I do not see any difference. Even the image is the same.
The second one is not in the STUB_engine, or BATTLESCRIPT documents.
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Re: ShowUIScreen

Post by pipfromslitherine »

The X version is a helper function from functions.bsf which basically just inserts the ShowUIScreen into the viz queue in case anything else is going on.
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

Re: ShowUIScreen

Post by enric »

I see there are a lot of, what you cal "helper function" that are not documented, even you must open de scripts and discover that they exists, is there any plans on them?, Many has not a few words of description.
pipfromslitherine
Site Admin
Site Admin
Posts: 9937
Joined: Wed Mar 23, 2005 10:35 pm

Re: ShowUIScreen

Post by pipfromslitherine »

It would be a massive task to document every helper function that we've created over the course of making the game. It's possible that some that were created by the more non-programmer members of the design team might be less commented than they might be.

Cheers

Pip
Post Reply

Return to “Battle Academy : Modders Corner ”