Page 1 of 1

ShowUIScreen

Posted: Sun Sep 30, 2012 6:11 pm
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.

Re: ShowUIScreen

Posted: Tue Oct 02, 2012 10:28 pm
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.

Re: ShowUIScreen

Posted: Wed Oct 03, 2012 6:55 am
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.

Re: ShowUIScreen

Posted: Wed Oct 03, 2012 3:12 pm
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