lui::createcustomcameramenu()
Creates custom camera menu. BO3's decompiled scripts carry no docs for this one: the description is ours, from its name and use.
Signature
lui::createcustomcameramenu(menu_name, localclientnum, camera_function, has_state, custom_open_fn = undefined, custom_close_fn = undefined)
Needs #using the script that defines it (scripts/shared/lui_shared.csc).
Parameters
| Name | Details |
|---|---|
| menu_name | |
| localclientnum | |
| camera_function | |
| has_state | |
| custom_open_fn | default: undefined |
| custom_close_fn | default: undefined |
The decompiled scripts don't keep default values, so some of these may be optional: check the real uses below.
Real uses in BO3's scripts
Called 21 times in the decompiled scripts. A few, zombies first:
- scripts/core/gametypes/frontend.csc, line 2710
lui::createcustomcameramenu("Main", localclientnum, &lobby_main, 1); - scripts/core/gametypes/frontend.csc, line 2718
lui::createcustomcameramenu("PersonalizeCharacter", localclientnum, &personalize_characters_watch, 0, &start_character_rotating, &end_cha... - scripts/core/gametypes/frontend.csc, line 2721
lui::createcustomcameramenu("ChooseTaunts", localclientnum, &choose_taunts_camera_watch, 0); - scripts/core/gametypes/frontend.csc, line 2744
lui::createcustomcameramenu("Paintshop", localclientnum, undefined, 0, undefined, undefined); - scripts/core/gametypes/frontend.csc, line 2746
lui::createcustomcameramenu("Gunsmith", localclientnum, undefined, 0, undefined, undefined);
More in lui::
- lui::screen_fade_out()Fades the screen to black (or a colour) over a time using LUI.
- lui::screen_fade_in()Fades the screen back in over a time using LUI.
- lui::addmenuexploders()Adds menu exploders.
- lui::screen_flash()Flashes the screen to a colour and back.
- lui::screen_fade()Fades the screen to an opacity over a time.
- lui::createcameramenu()Creates camera menu.
- lui::linktocustomcharacter()lui helper: linkto custom character.
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).