luafunctionref
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| luafunctionref [2025/01/08 17:49] – bredroll | luafunctionref [2025/05/05 07:05] (current) – [update] bredroll | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== CC2 Lua Functions | + | ====== CC2 Lua ====== |
| This is a (not exhaustive) reference for functions available to be called in the lua scripts used for screen rendering/ | This is a (not exhaustive) reference for functions available to be called in the lua scripts used for screen rendering/ | ||
| + | |||
| + | CC2 has various lua scripts that directly drive what information you see on screens, in the control seat and ship cameras. They are the way players choose to refit units, set waypoints, see and identify threats. | ||
| + | |||
| + | * screen | ||
| + | * draw the user interface for each bridge station | ||
| + | * hud | ||
| + | * draw the heads-up-display when in direct control of a unit | ||
| + | * library | ||
| + | * shared code usable in screens or hud scripting. | ||
| + | |||
| + | ===== Script Environment ===== | ||
| + | |||
| + | ==== Loading ==== | ||
| + | |||
| + | Each screen on the carrier gets its own Lua interpreter instance. Setting globals at runtime in the script will not have any effect on other screens running the same script. The same is true of the HUD except there is only ever one instance if vehicle_hud.lua running on your PC. | ||
| + | |||
| + | Scripts have the following load order: | ||
| + | |||
| + | * library_enum.lua | ||
| + | * library_util.lua | ||
| + | * library_vehicle.lua | ||
| + | * library_ui.lua | ||
| + | * library_custom_X.lua | ||
| + | * screen/hud | ||
| + | |||
| + | ==== Execution ==== | ||
| + | |||
| + | The whole of each file is evaluated in the same lua interpreter. If you set a global outside of a function in library_enum.lua then you will be able to see the value in library_util.lua and later. | ||
| + | |||
| + | === begin === | ||
| + | |||
| + | Once this is complete, the game will call the '' | ||
| + | |||
| + | === game === | ||
| + | |||
| + | Now that the script is loaded and begin has been called, the input and update functions will be called. These are called once per " | ||
| + | |||
| + | When a player is using the HUD, the update rate of other scripts is reduced to once every 30 ticks (1 time per second), and the input functions are not called. The HUD update function is only called when a player is in the HUD view. | ||
| + | |||
| + | ==== input ==== | ||
| + | |||
| + | During the input cycle, the core game makes calls to the '' | ||
| + | |||
| + | ==== update ==== | ||
| + | |||
| + | Next is the update cycle, most of the heavy lifting goes on in here, these are where you can introspect the current vehicle, carrier details, weapons, map, nearby units, other players, missiles, etc. graphical/ | ||
| + | |||
| + | === Refresh Rate === | ||
| + | |||
| + | I have recently discovered there is another factor that influences how often a script '' | ||
| + | |||
| + | |||
| + | ==== Functions ====== | ||
| ---- | ---- | ||
| - | '' | + | ===begin_get_screen_name=== |
| Native/C function | Native/C function | ||
| + | |||
| + | Can be called only during the '' | ||
| + | |||
| + | Returns the name value of the currently executing screen. This is the value set in ''< | ||
| + | |||
| + | < | ||
| + | <screen name=" | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | | ||
| + | help_tag=" | ||
| + | </ | ||
| + | |||
| + | If called within a '' | ||
| Usable in: | Usable in: | ||
| - | * screen_inventory.lua | + | * screen_*.lua |
| - | * screen_navigation.lua | + | |
| Example call: | Example call: | ||
| Line 18: | Line 88: | ||
| ---- | ---- | ||
| - | '' | + | ===begin_get_ui_region_index=== |
| Native/C function | Native/C function | ||
| + | |||
| + | Can be called only during the '' | ||
| + | |||
| + | Return the index number for a specific UI icon image. | ||
| Usable in: | Usable in: | ||
| Line 40: | Line 114: | ||
| ---- | ---- | ||
| - | '' | + | ===begin_load=== |
| Lua defined function in library_util.lua | Lua defined function in library_util.lua | ||
| Line 86: | Line 160: | ||
| ---- | ---- | ||
| - | '' | + | ===begin_load_inventory_data=== |
| Lua defined function in library_vehicle.lua | Lua defined function in library_vehicle.lua | ||
| + | |||
| + | Called early in '' | ||
| Usable in: | Usable in: | ||
| Line 104: | Line 180: | ||
| ---- | ---- | ||
| - | '' | + | ===update_add_ui_interaction=== |
| Lua defined function in interactions.lua | Lua defined function in interactions.lua | ||
| + | |||
| + | Call to display the on-screen control hints in the bottom left of the screen. | ||
| Usable in: | Usable in: | ||
| Line 132: | Line 210: | ||
| ---- | ---- | ||
| - | '' | + | ===update_add_ui_interaction_special=== |
| Lua defined function in interactions.lua | Lua defined function in interactions.lua | ||
| Line 164: | Line 242: | ||
| ---- | ---- | ||
| - | '' | + | ===update_animations=== |
| Lua defined function in vehicle_hud.lua | Lua defined function in vehicle_hud.lua | ||
| Line 177: | Line 255: | ||
| ---- | ---- | ||
| - | '' | + | ===update_boot_override=== |
| Lua defined function in library_util.lua | Lua defined function in library_util.lua | ||
| Line 190: | Line 268: | ||
| ---- | ---- | ||
| - | '' | + | ===update_camera_local_rotate_inv=== |
| Native/C function | Native/C function | ||
| Line 203: | Line 281: | ||
| ---- | ---- | ||
| - | '' | + | ===update_chat=== |
| Lua defined function in interactions.lua | Lua defined function in interactions.lua | ||
| Line 216: | Line 294: | ||
| ---- | ---- | ||
| - | '' | + | ===update_create_workshop_mod=== |
| Native/C function | Native/C function | ||
| Line 229: | Line 307: | ||
| ---- | ---- | ||
| - | '' | + | ===update_cursor_state=== |
| Lua defined function in screen_vehicle_control.lua | Lua defined function in screen_vehicle_control.lua | ||
| Line 242: | Line 320: | ||
| ---- | ---- | ||
| - | '' | + | ===update_damage_zones=== |
| Lua defined function in screen_damage.lua | Lua defined function in screen_damage.lua | ||
| Line 255: | Line 333: | ||
| ---- | ---- | ||
| - | '' | + | ===update_exit_pause_menu=== |
| Native/C function | Native/C function | ||
| Line 268: | Line 346: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_active_input_type=== |
| Native/C function | Native/C function | ||
| Line 296: | Line 374: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_angle_2d=== |
| Native/C function | Native/C function | ||
| Line 309: | Line 387: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_application_state=== |
| Native/C function | Native/C function | ||
| Line 322: | Line 400: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_attachment_ammo_item_type=== |
| Native/C function | Native/C function | ||
| Line 335: | Line 413: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_attachment_option=== |
| Native/C function | Native/C function | ||
| Line 348: | Line 426: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_attachment_option_count=== |
| Native/C function | Native/C function | ||
| Line 361: | Line 439: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_attachment_option_hidden=== |
| Native/C function | Native/C function | ||
| Line 374: | Line 452: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_camera_forward=== |
| Native/C function | Native/C function | ||
| Line 387: | Line 465: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_camera_fov=== |
| Native/C function | Native/C function | ||
| Line 400: | Line 478: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_camera_heading=== |
| Native/C function | Native/C function | ||
| Line 413: | Line 491: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_camera_position=== |
| Native/C function | Native/C function | ||
| Line 426: | Line 504: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_camera_side=== |
| Native/C function | Native/C function | ||
| Line 439: | Line 517: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_chat_messages=== |
| Native/C function | Native/C function | ||
| Line 452: | Line 530: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_connect_address=== |
| Native/C function | Native/C function | ||
| Line 465: | Line 543: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_currency_log=== |
| Native/C function | Native/C function | ||
| Line 478: | Line 556: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_currency_log_count=== |
| Native/C function | Native/C function | ||
| Line 491: | Line 569: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_definition_vehicle_stats=== |
| Native/C function | Native/C function | ||
| Line 505: | Line 583: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_delivery_log=== |
| Native/C function | Native/C function | ||
| Line 518: | Line 596: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_delivery_log_count=== |
| Native/C function | Native/C function | ||
| Line 531: | Line 609: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_friend_games=== |
| Native/C function | Native/C function | ||
| Line 544: | Line 622: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_game_input_category=== |
| Native/C function | Native/C function | ||
| Line 557: | Line 635: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_game_input_count=== |
| Native/C function | Native/C function | ||
| Line 570: | Line 648: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_game_input_name=== |
| Native/C function | Native/C function | ||
| Line 583: | Line 661: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_game_settings=== |
| Native/C function | Native/C function | ||
| Line 599: | Line 677: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_gfx_resolution_modes=== |
| Native/C function | Native/C function | ||
| Line 612: | Line 690: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_hair_color_options=== |
| Native/C function | Native/C function | ||
| Line 625: | Line 703: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_host_connect_token=== |
| Native/C function | Native/C function | ||
| Line 638: | Line 716: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_host_max_players=== |
| Native/C function | Native/C function | ||
| Line 651: | Line 729: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_host_password=== |
| Native/C function | Native/C function | ||
| Line 664: | Line 742: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_binding_gamepad_axis=== |
| Native/C function | Native/C function | ||
| Line 678: | Line 756: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_binding_gamepad_button=== |
| Native/C function | Native/C function | ||
| Line 692: | Line 770: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_binding_is_axis_inverted=== |
| Native/C function | Native/C function | ||
| Line 705: | Line 783: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_binding_joystick_axis=== |
| Native/C function | Native/C function | ||
| Line 719: | Line 797: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_binding_joystick_button=== |
| Native/C function | Native/C function | ||
| Line 733: | Line 811: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_binding_joystick_connected=== |
| Native/C function | Native/C function | ||
| Line 746: | Line 824: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_binding_joystick_guid=== |
| Native/C function | Native/C function | ||
| Line 759: | Line 837: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_binding_joystick_name=== |
| Native/C function | Native/C function | ||
| Line 772: | Line 850: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_binding_keyboard_key=== |
| Native/C function | Native/C function | ||
| Line 786: | Line 864: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_binding_keyboard_pointer=== |
| Native/C function | Native/C function | ||
| Line 800: | Line 878: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_category_name=== |
| Native/C function | Native/C function | ||
| Line 813: | Line 891: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_gamepad_axis_value=== |
| Native/C function | Native/C function | ||
| Line 826: | Line 904: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_joystick_axis_count=== |
| Native/C function | Native/C function | ||
| Line 839: | Line 917: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_joystick_axis_value=== |
| Native/C function | Native/C function | ||
| Line 852: | Line 930: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_joystick_connected=== |
| Native/C function | Native/C function | ||
| Line 865: | Line 943: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_joystick_guid=== |
| Native/C function | Native/C function | ||
| Line 878: | Line 956: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_input_joystick_name=== |
| Native/C function | Native/C function | ||
| Line 891: | Line 969: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_chat_box_available=== |
| Native/C function | Native/C function | ||
| Line 904: | Line 982: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_focus_local=== |
| Native/C function | Native/C function | ||
| Line 929: | Line 1007: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_hosting_game=== |
| Native/C function | Native/C function | ||
| Line 942: | Line 1020: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_input_rebindable_gamepad=== |
| Native/C function | Native/C function | ||
| Line 955: | Line 1033: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_input_rebindable_gamepad_as_axis=== |
| Native/C function | Native/C function | ||
| Line 968: | Line 1046: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_input_rebindable_keyboard=== |
| Native/C function | Native/C function | ||
| Line 981: | Line 1059: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_loading=== |
| Native/C function | Native/C function | ||
| Line 994: | Line 1072: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_multiplayer=== |
| Native/C function | Native/C function | ||
| Line 1009: | Line 1087: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_notification_holomap_set=== |
| Native/C function | Native/C function | ||
| Line 1022: | Line 1100: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_respawn_menu_option_available=== |
| Native/C function | Native/C function | ||
| Line 1035: | Line 1113: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_save_game_available=== |
| Native/C function | Native/C function | ||
| Line 1048: | Line 1126: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_show_controls=== |
| Native/C function | Native/C function | ||
| Line 1061: | Line 1139: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_show_subtitles=== |
| Native/C function | Native/C function | ||
| Line 1074: | Line 1152: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_show_tooltips=== |
| Native/C function | Native/C function | ||
| Line 1087: | Line 1165: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_show_voice_chat_others=== |
| Native/C function | Native/C function | ||
| Line 1100: | Line 1178: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_show_voice_chat_self=== |
| Native/C function | Native/C function | ||
| Line 1113: | Line 1191: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_show_vr_multiplayer_warning=== |
| Native/C function | Native/C function | ||
| Line 1126: | Line 1204: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_is_vr=== |
| Native/C function | Native/C function | ||
| + | |||
| + | Return '' | ||
| Usable in: | Usable in: | ||
| Line 1143: | Line 1223: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_join_password=== |
| Native/C function | Native/C function | ||
| Line 1156: | Line 1236: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_key_name=== |
| Native/C function | Native/C function | ||
| Line 1170: | Line 1250: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_keyboard_back_opens_pause=== |
| Native/C function | Native/C function | ||
| Line 1183: | Line 1263: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_loc=== |
| Native/C function | Native/C function | ||
| + | |||
| + | Return the localized string for the given index word/phrase from the '' | ||
| + | < | ||
| + | update_get_loc(e_loc.upp_paste) | ||
| + | </ | ||
| + | Will return " | ||
| Usable in: | Usable in: | ||
| Line 1226: | Line 1312: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_local_peer_id=== |
| Native/C function | Native/C function | ||
| + | |||
| + | Get the ID of the current player. | ||
| Usable in: | Usable in: | ||
| Line 1239: | Line 1327: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_local_team_id=== |
| Native/C function | Native/C function | ||
| + | |||
| + | Get the team ID of the current player. | ||
| Usable in: | Usable in: | ||
| Line 1253: | Line 1343: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_logic_tick=== |
| Native/C function | Native/C function | ||
| + | |||
| + | Get the logic tick. This is the game simulation counter starting at zero the moment the map is crated. It increments by one every simulation frame. The game is tuned such that a second of real time covers 30 game ticks. | ||
| + | |||
| + | During the span of an '' | ||
| + | |||
| + | It can be thought of as a primitive low-res clock. | ||
| Usable in: | Usable in: | ||
| Line 1272: | Line 1368: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_map_destroyed_vehicle=== |
| Native/C function | Native/C function | ||
| + | |||
| + | Get an object representing a recently destroyed vehicle. Used along with '' | ||
| + | |||
| + | Destroyed vehicles have several methods. | ||
| + | |||
| + | * '' | ||
| + | * get a '' | ||
| + | * '' | ||
| + | * get the team ID of the destroyed vehicle | ||
| + | * '' | ||
| + | * get float in range 0-1 based on the age of destruction, | ||
| Usable in: | Usable in: | ||
| Line 1285: | Line 1392: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_map_destroyed_vehicle_count=== |
| Native/C function | Native/C function | ||
| + | |||
| + | Get the number of destroyed vehicles visible on the game map. | ||
| Usable in: | Usable in: | ||
| Line 1298: | Line 1407: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_map_vehicle_by_id=== |
| Native/C function | Native/C function | ||
| + | |||
| + | Get an object representing a player or AI controlled unit in game, the unit may be docked or active. | ||
| + | |||
| + | The HUD can obtain 3D position (lat-lon-alt) information about a unit where the screen scripts can only obtain 2D (lat-lon). The HUD can also not see unit waypoints where as screens can fully get/set waypoint data. | ||
| + | |||
| + | vehicle objects have many methods, the most commonly used are: | ||
| + | |||
| + | * '' | ||
| + | * locking/ | ||
| + | * '' | ||
| + | * get the vehicle ID number. | ||
| + | * '' | ||
| + | * get the vehicle type (a value in the '' | ||
| + | * '' | ||
| + | * get the vehicle team number | ||
| + | * '' | ||
| + | * get the vehicle team number | ||
| + | * '' | ||
| + | * get the vehicle 2D position as a '' | ||
| + | * '' | ||
| + | * get the vehicle 3D position as a '' | ||
| + | |||
| Usable in: | Usable in: | ||
| Line 1316: | Line 1447: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_map_vehicle_by_index=== |
| Native/C function | Native/C function | ||
| Line 1336: | Line 1467: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_map_vehicle_count=== |
| Native/C function | Native/C function | ||
| Line 1356: | Line 1487: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_map_vehicle_position_relate_to_parent_vehicle=== |
| Native/C function | Native/C function | ||
| Line 1370: | Line 1501: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_message_box_type=== |
| Native/C function | Native/C function | ||
| Line 1383: | Line 1514: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_missile_by_id=== |
| Native/C function | Native/C function | ||
| Line 1396: | Line 1527: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_missile_by_index=== |
| Native/C function | Native/C function | ||
| Line 1410: | Line 1541: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_missile_count=== |
| Native/C function | Native/C function | ||
| Line 1424: | Line 1555: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_mod_details=== |
| Native/C function | Native/C function | ||
| Line 1437: | Line 1568: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_mod_incompatible_active_mods=== |
| Native/C function | Native/C function | ||
| Line 1450: | Line 1581: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_mod_workshop_upload_status=== |
| Native/C function | Native/C function | ||
| Line 1463: | Line 1594: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_mouse_flight_axis=== |
| Native/C function | Native/C function | ||
| Line 1476: | Line 1607: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_mouse_flight_mode=== |
| Native/C function | Native/C function | ||
| Line 1489: | Line 1620: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_network_time_since_recv=== |
| Native/C function | Native/C function | ||
| Line 1502: | Line 1633: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_network_timeout=== |
| Native/C function | Native/C function | ||
| Line 1515: | Line 1646: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_new_game_base_difficulty=== |
| Native/C function | Native/C function | ||
| Line 1528: | Line 1659: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_new_game_blueprints=== |
| Native/C function | Native/C function | ||
| Line 1541: | Line 1672: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_new_game_carrier_count_per_team=== |
| Native/C function | Native/C function | ||
| Line 1554: | Line 1685: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_new_game_is_tutorial=== |
| Native/C function | Native/C function | ||
| Line 1567: | Line 1698: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_new_game_island_count=== |
| Native/C function | Native/C function | ||
| Line 1580: | Line 1711: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_new_game_island_count_per_team=== |
| Native/C function | Native/C function | ||
| Line 1593: | Line 1724: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_new_game_loadout_type=== |
| Native/C function | Native/C function | ||
| Line 1606: | Line 1737: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_new_game_team_count_ai=== |
| Native/C function | Native/C function | ||
| Line 1619: | Line 1750: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_new_game_team_count_human=== |
| Native/C function | Native/C function | ||
| Line 1632: | Line 1763: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_notification_holomap=== |
| Native/C function | Native/C function | ||
| Line 1645: | Line 1776: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_notification_log=== |
| Native/C function | Native/C function | ||
| Line 1658: | Line 1789: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_notification_log_count=== |
| Native/C function | Native/C function | ||
| Line 1671: | Line 1802: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_ocean_current_velocity=== |
| Native/C function | Native/C function | ||
| Line 1684: | Line 1815: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_ocean_depth_factor=== |
| Native/C function | Native/C function | ||
| Line 1697: | Line 1828: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_peer_count=== |
| Native/C function | Native/C function | ||
| Line 1710: | Line 1841: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_peer_id=== |
| Native/C function | Native/C function | ||
| Line 1723: | Line 1854: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_peer_index_by_id=== |
| Native/C function | Native/C function | ||
| Line 1736: | Line 1867: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_peer_is_admin=== |
| Native/C function | Native/C function | ||
| Line 1750: | Line 1881: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_peer_is_voice_muted=== |
| Native/C function | Native/C function | ||
| Line 1763: | Line 1894: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_peer_is_voice_transmit=== |
| Native/C function | Native/C function | ||
| Line 1776: | Line 1907: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_peer_name=== |
| Native/C function | Native/C function | ||
| Line 1790: | Line 1921: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_peer_team=== |
| Native/C function | Native/C function | ||
| Line 1803: | Line 1934: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_rebinding_gamepad=== |
| Native/C function | Native/C function | ||
| Line 1818: | Line 1949: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_rebinding_keyboard=== |
| Native/C function | Native/C function | ||
| Line 1833: | Line 1964: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_render_buffer_age=== |
| Native/C function | Native/C function | ||
| Line 1846: | Line 1977: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_resource_inventory_category_count=== |
| Native/C function | Native/C function | ||
| Line 1859: | Line 1990: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_resource_inventory_category_data=== |
| Native/C function | Native/C function | ||
| Line 1872: | Line 2003: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_resource_inventory_item_count=== |
| Native/C function | Native/C function | ||
| Line 1886: | Line 2017: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_resource_inventory_item_data=== |
| Native/C function | Native/C function | ||
| Line 1899: | Line 2030: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_resource_item_for_definition=== |
| Native/C function | Native/C function | ||
| Line 1912: | Line 2043: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_resource_item_hidden=== |
| Native/C function | Native/C function | ||
| Line 1926: | Line 2057: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_resource_item_hidden_facility_production=== |
| Native/C function | Native/C function | ||
| Line 1939: | Line 2070: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_respawn_carrier_id=== |
| Native/C function | Native/C function | ||
| Line 1952: | Line 2083: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_save_slots=== |
| Native/C function | Native/C function | ||
| Line 1966: | Line 2097: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_screen_input=== |
| Native/C function | Native/C function | ||
| Line 1979: | Line 2110: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_screen_state_active=== |
| Native/C function | Native/C function | ||
| Line 1994: | Line 2125: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_screen_team_id=== |
| Native/C function | Native/C function | ||
| Line 2011: | Line 2142: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_screen_vehicle=== |
| Native/C function | Native/C function | ||
| Line 2044: | Line 2175: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_server_list=== |
| Native/C function | Native/C function | ||
| Line 2057: | Line 2188: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_server_meta=== |
| Native/C function | Native/C function | ||
| Line 2070: | Line 2201: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_server_name=== |
| Native/C function | Native/C function | ||
| Line 2083: | Line 2214: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_skin_color_options=== |
| Native/C function | Native/C function | ||
| Line 2096: | Line 2227: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_team=== |
| Native/C function | Native/C function | ||
| Line 2114: | Line 2245: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_team_color=== |
| Native/C function | Native/C function | ||
| Line 2132: | Line 2263: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_team_transmission_count=== |
| Native/C function | Native/C function | ||
| Line 2145: | Line 2276: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_team_transmission_name=== |
| Native/C function | Native/C function | ||
| Line 2158: | Line 2289: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_tile_by_id=== |
| Native/C function | Native/C function | ||
| Line 2175: | Line 2306: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_tile_by_index=== |
| Native/C function | Native/C function | ||
| Line 2193: | Line 2324: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_tile_count=== |
| Native/C function | Native/C function | ||
| Line 2211: | Line 2342: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_time_ms=== |
| Native/C function | Native/C function | ||
| Line 2224: | Line 2355: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_transmission_playback_progress=== |
| Native/C function | Native/C function | ||
| Line 2237: | Line 2368: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_transmission_playing_index=== |
| Native/C function | Native/C function | ||
| Line 2250: | Line 2381: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_ui_scale=== |
| Native/C function | Native/C function | ||
| Line 2263: | Line 2394: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_vehicle_by_id=== |
| Native/C function | Native/C function | ||
| Line 2282: | Line 2413: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_version=== |
| Native/C function | Native/C function | ||
| Line 2295: | Line 2426: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_weapon_line_by_index=== |
| Native/C function | Native/C function | ||
| Line 2308: | Line 2439: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_weapon_line_count=== |
| Native/C function | Native/C function | ||
| Line 2321: | Line 2452: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_weather_fog_factor=== |
| Native/C function | Native/C function | ||
| Line 2334: | Line 2465: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_weather_lightning_factor=== |
| Native/C function | Native/C function | ||
| Line 2347: | Line 2478: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_weather_precipitation_factor=== |
| Native/C function | Native/C function | ||
| Line 2360: | Line 2491: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_weather_wind_velocity=== |
| Native/C function | Native/C function | ||
| Line 2373: | Line 2504: | ||
| ---- | ---- | ||
| - | '' | + | ===update_get_workshop_published_mods=== |
| Native/C function | Native/C function | ||
| Line 2386: | Line 2517: | ||
| ---- | ---- | ||
| - | '' | + | ===update_gun_funnel=== |
| Lua defined function in vehicle_hud.lua | Lua defined function in vehicle_hud.lua | ||
| Line 2399: | Line 2530: | ||
| ---- | ---- | ||
| - | '' | + | ===update_interaction_ui=== |
| Lua defined function in pause_menu.lua | Lua defined function in pause_menu.lua | ||
| Line 2419: | Line 2550: | ||
| ---- | ---- | ||
| - | '' | + | ===update_launch_carrier=== |
| Native/C function | Native/C function | ||
| Line 2432: | Line 2563: | ||
| ---- | ---- | ||
| - | '' | + | ===update_map_cursor_state=== |
| Lua defined function in screen_inventory.lua | Lua defined function in screen_inventory.lua | ||
| Line 2445: | Line 2576: | ||
| ---- | ---- | ||
| - | '' | + | ===update_map_dismiss_notification=== |
| Native/C function | Native/C function | ||
| Line 2458: | Line 2589: | ||
| ---- | ---- | ||
| - | '' | + | ===update_map_hovered=== |
| Lua defined function in screen_inventory.lua | Lua defined function in screen_inventory.lua | ||
| Line 2471: | Line 2602: | ||
| ---- | ---- | ||
| - | '' | + | ===update_play_sound=== |
| Native/C function | Native/C function | ||
| Line 2490: | Line 2621: | ||
| ---- | ---- | ||
| - | '' | + | ===update_play_transmission=== |
| Native/C function | Native/C function | ||
| Line 2503: | Line 2634: | ||
| ---- | ---- | ||
| - | '' | + | ===update_print_metatable=== |
| Native/C function | Native/C function | ||
| Line 2516: | Line 2647: | ||
| ---- | ---- | ||
| - | '' | + | ===update_print_regions=== |
| Native/C function | Native/C function | ||
| Line 2529: | Line 2660: | ||
| ---- | ---- | ||
| - | '' | + | ===update_refresh_workshop_published_mods=== |
| Native/C function | Native/C function | ||
| Line 2542: | Line 2673: | ||
| ---- | ---- | ||
| - | '' | + | ===update_repeat=== |
| Lua defined function in library_ui.lua | Lua defined function in library_ui.lua | ||
| Line 2555: | Line 2686: | ||
| ---- | ---- | ||
| - | '' | + | ===update_screen_overrides=== |
| Lua defined function in library_util.lua | Lua defined function in library_util.lua | ||
| Line 2597: | Line 2728: | ||
| ---- | ---- | ||
| - | '' | + | ===update_self_destruct_override=== |
| Lua defined function in library_util.lua | Lua defined function in library_util.lua | ||
| Line 2611: | Line 2742: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_connect_address=== |
| Native/C function | Native/C function | ||
| Line 2624: | Line 2755: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_go_code=== |
| Native/C function | Native/C function | ||
| Line 2637: | Line 2768: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_host_max_players=== |
| Native/C function | Native/C function | ||
| Line 2650: | Line 2781: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_host_password=== |
| Native/C function | Native/C function | ||
| Line 2663: | Line 2794: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_is_block_input=== |
| Native/C function | Native/C function | ||
| Line 2676: | Line 2807: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_is_mod_enabled=== |
| Native/C function | Native/C function | ||
| Line 2689: | Line 2820: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_is_pause_simulation=== |
| Native/C function | Native/C function | ||
| Line 2702: | Line 2833: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_is_text_input_mode=== |
| Native/C function | Native/C function | ||
| Line 2716: | Line 2847: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_is_visible=== |
| Native/C function | Native/C function | ||
| Line 2729: | Line 2860: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_join_password=== |
| Native/C function | Native/C function | ||
| Line 2742: | Line 2873: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_new_game_base_difficulty=== |
| Native/C function | Native/C function | ||
| Line 2755: | Line 2886: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_new_game_blueprints=== |
| Native/C function | Native/C function | ||
| Line 2768: | Line 2899: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_new_game_carrier_count_per_team=== |
| Native/C function | Native/C function | ||
| Line 2781: | Line 2912: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_new_game_is_tutorial=== |
| Native/C function | Native/C function | ||
| Line 2794: | Line 2925: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_new_game_island_count=== |
| Native/C function | Native/C function | ||
| Line 2807: | Line 2938: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_new_game_island_count_per_team=== |
| Native/C function | Native/C function | ||
| Line 2820: | Line 2951: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_new_game_loadout_type=== |
| Native/C function | Native/C function | ||
| Line 2833: | Line 2964: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_new_game_team_count_ai=== |
| Native/C function | Native/C function | ||
| Line 2846: | Line 2977: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_new_game_team_count_human=== |
| Native/C function | Native/C function | ||
| Line 2859: | Line 2990: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_observed_vehicle=== |
| Native/C function | Native/C function | ||
| Line 2872: | Line 3003: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_background_clip=== |
| Native/C function | Native/C function | ||
| Line 2885: | Line 3016: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_background_color=== |
| Native/C function | Native/C function | ||
| Line 2898: | Line 3029: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_background_is_render_islands=== |
| Native/C function | Native/C function | ||
| Line 2916: | Line 3047: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_background_tile_color_custom=== |
| Native/C function | Native/C function | ||
| Line 2929: | Line 3060: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_background_type=== |
| Native/C function | Native/C function | ||
| Line 2950: | Line 3081: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_camera_attach_vehicle=== |
| Native/C function | Native/C function | ||
| Line 2964: | Line 3095: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_camera_cull_distance=== |
| Native/C function | Native/C function | ||
| Line 2977: | Line 3108: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_camera_is_render_ocean=== |
| Native/C function | Native/C function | ||
| Line 2990: | Line 3121: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_camera_lod_level=== |
| Native/C function | Native/C function | ||
| Line 3003: | Line 3134: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_camera_pos_orientation=== |
| Native/C function | Native/C function | ||
| Line 3016: | Line 3147: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_camera_render_attached_vehicle=== |
| Native/C function | Native/C function | ||
| Line 3029: | Line 3160: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_map_position_scale=== |
| Native/C function | Native/C function | ||
| Line 3047: | Line 3178: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_state_exit=== |
| Native/C function | Native/C function | ||
| Line 3090: | Line 3221: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_screen_vehicle_control_id=== |
| Native/C function | Native/C function | ||
| Line 3104: | Line 3235: | ||
| ---- | ---- | ||
| - | '' | + | ===update_set_server_name=== |
| Native/C function | Native/C function | ||
| Line 3117: | Line 3248: | ||
| ---- | ---- | ||
| - | '' | + | ===update_stop_transmission=== |
| Native/C function | Native/C function | ||
| Line 3130: | Line 3261: | ||
| ---- | ---- | ||
| - | '' | + | ===update_string_from_epoch=== |
| Native/C function | Native/C function | ||
| Line 3144: | Line 3275: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_add_triangle=== |
| Native/C function | Native/C function | ||
| Line 3163: | Line 3294: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_begin_triangles=== |
| Native/C function | Native/C function | ||
| Line 3182: | Line 3313: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_circle=== |
| Lua defined function in library_ui.lua | Lua defined function in library_ui.lua | ||
| Line 3197: | Line 3328: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_end_triangles=== |
| Native/C function | Native/C function | ||
| Line 3216: | Line 3347: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_event=== |
| Lua defined function in library_ui.lua | Lua defined function in library_ui.lua | ||
| Line 3234: | Line 3365: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_format_peer_display_name=== |
| Native/C function | Native/C function | ||
| Line 3247: | Line 3378: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_get_image_size=== |
| Native/C function | Native/C function | ||
| Line 3263: | Line 3394: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_get_offset=== |
| Native/C function | Native/C function | ||
| Line 3276: | Line 3407: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_get_text_size=== |
| Native/C function | Native/C function | ||
| Line 3299: | Line 3430: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_image=== |
| Native/C function | Native/C function | ||
| Line 3341: | Line 3472: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_image_power=== |
| Native/C function | Native/C function | ||
| Line 3354: | Line 3485: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_image_rot=== |
| Native/C function | Native/C function | ||
| Line 3371: | Line 3502: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_line=== |
| Native/C function | Native/C function | ||
| Line 3399: | Line 3530: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_pop_alpha=== |
| Native/C function | Native/C function | ||
| Line 3413: | Line 3544: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_pop_clip=== |
| Native/C function | Native/C function | ||
| Line 3433: | Line 3564: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_pop_offset=== |
| Native/C function | Native/C function | ||
| Line 3470: | Line 3601: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_pop_scale=== |
| Native/C function | Native/C function | ||
| Line 3483: | Line 3614: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_push_alpha=== |
| Native/C function | Native/C function | ||
| Line 3497: | Line 3628: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_push_clip=== |
| Native/C function | Native/C function | ||
| Line 3517: | Line 3648: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_push_offset=== |
| Native/C function | Native/C function | ||
| Line 3554: | Line 3685: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_push_scale=== |
| Native/C function | Native/C function | ||
| Line 3567: | Line 3698: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_rectangle=== |
| Native/C function | Native/C function | ||
| Line 3607: | Line 3738: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_rectangle_outline=== |
| Lua defined function in library_ui.lua | Lua defined function in library_ui.lua | ||
| Line 3639: | Line 3770: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_set_back_color=== |
| Native/C function | Native/C function | ||
| Line 3653: | Line 3784: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_set_text_color=== |
| Native/C function | Native/C function | ||
| Line 3669: | Line 3800: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_text=== |
| Native/C function | Native/C function | ||
| Line 3712: | Line 3843: | ||
| ---- | ---- | ||
| - | '' | + | ===update_ui_text_scale=== |
| Native/C function | Native/C function | ||
| Line 3727: | Line 3858: | ||
| ---- | ---- | ||
| - | '' | + | ===update_update_workshop_mod=== |
| Native/C function | Native/C function | ||
| Line 3740: | Line 3871: | ||
| ---- | ---- | ||
| - | '' | + | ===update_world_to_screen=== |
| Native/C function | Native/C function | ||
| Line 3754: | Line 3885: | ||
| Process finished with exit code 0 | Process finished with exit code 0 | ||
| - | |||
luafunctionref.1736358593.txt.gz · Last modified: 2025/01/08 17:49 by bredroll
