Содержание#

Типы и методы. Параметры и результаты относятся к указанному слою X4; неизвестные типы помечены явно.

Бой и боезапас#

Вызов / событие Возвращает
add_ammo none (MD action)
end_boarding_operation none (MD action)
fire_turret none (MD action)
launch_countermeasures none (MD action)
launch_drone none (MD action)
launch_lasertower none (MD action)
launch_mine none (MD action)
remove_ammo none (MD action)
set_ammo none (MD action)
set_turret_targets none (MD action)
weapon none (MD action)

Верфи и строительство#

Вызов / событие Возвращает
abort_build none (MD action)
add_build_to_construct_ship none (MD action)
add_build_to_expand_station none (MD action)
add_build_to_modify_ship none (MD action)
apply_loadout none (MD action)
can_safely_extend_build_plot none (MD action)
create_build_storage none (MD action)
create_loadout none (MD action)
downgrade_software none (MD action)
extend_build_plot none (MD action)
get_loadout none (MD action)
install_software none (MD action)
loadout none (MD action)
remove_build none (MD action)
reserve_build_plot none (MD action)
set_build_plot none (MD action)
uninstall_software none (MD action)

Другие функции X4#

Вызов / событие Возвращает
abort_scripts none (MD action)
add_blueprints none (MD action)
add_data none (MD action)
add_effect none (MD action)
add_encyclopedia_entry none (MD action)
add_long_range_scan_effect none (MD action)
add_player_choice none (MD action)
add_player_discount none (MD action)
add_to_group none (MD action)
add_units none (MD action)
angular none (MD action)
cancel_conversation none (MD action)
clear_group none (MD action)
collect_drop none (MD action)
create_dynamic_interior none (MD action)
create_group none (MD action)
create_lockbox none (MD action)
create_object none (MD action)
create_ship none (MD action)
create_station none (MD action)
destroy_object none (MD action)
disable_travel_mode none (MD action)
engine none (MD action)
find_buy_offer none (MD action)
find_object none (MD action)
find_object_component none (MD action)
find_room none (MD action)
find_sell_offer none (MD action)
find_ship none (MD action)
find_ship_by_true_owner none (MD action)
find_station none (MD action)
find_station_by_true_owner none (MD action)
force_start_travel_mode none (MD action)
get_control_entities none (MD action)
get_ship_definition none (MD action)
include_interrupt_actions none (MD action)
interaction none (MD action)
launch_navbeacon none (MD action)
launch_satellite none (MD action)
level none (MD action)
linear none (MD action)
macros none (MD action)
match_content none (MD action)
name none (MD action)
open_conversation_menu none (MD action)
owner none (MD action)
patch none (MD action)
pause_spacesuit_oxygen none (MD action)
pilot none (MD action)
plot none (MD action)
quality none (MD action)
quantity none (MD action)
reinitialise_control_entities none (MD action)
remove_data none (MD action)
remove_dynamic_interior none (MD action)
remove_effect none (MD action)
remove_from_group none (MD action)
remove_object_account none (MD action)
remove_player_discount none (MD action)
remove_units none (MD action)
result none (MD action)
reward_player none (MD action)
run_script none (MD action)
safepos none (MD action)
select none (MD action)
set_cockpit_tint none (MD action)
set_conversation_return_section none (MD action)
set_known none (MD action)
set_object_account none (MD action)
set_object_active none (MD action)
set_object_hull none (MD action)
set_object_min_hull none (MD action)
set_object_name none (MD action)
set_object_shield none (MD action)
set_object_velocity none (MD action)
set_owner none (MD action)
set_production_paused none (MD action)
set_room_locked none (MD action)
set_skill none (MD action)
set_spacesuit_oxygen none (MD action)
speak none (MD action)
start_conversation none (MD action)
start_script none (MD action)
teleport_player none (MD action)
trigger_animation none (MD action)
variation none (MD action)
voice none (MD action)
warp none (MD action)

Загрузка и сохранение#

Вызов / событие Возвращает
unpause_spacesuit_oxygen none (MD action)

Карта и отображение#

Вызов / событие Возвращает
play_cutscene none (MD action)
stop_cutscene none (MD action)

Логика, переменные и cues#

Вызов / событие Возвращает
append_list_elements none (MD action)
append_to_list none (MD action)
break none (MD action)
cancel_cue none (MD action)
check_any none (MD action)
check_value none (MD action)
continue none (MD action)
delay none (MD action)
do_all none (MD action)
do_else none (MD action)
do_elseif none (MD action)
do_for_each none (MD action)
do_if none (MD action)
do_while none (MD action)
remove_from_list none (MD action)
remove_value none (MD action)
reset_cue none (MD action)
return none (MD action)
run_actions none (MD action)
set_value none (MD action)
signal_cue none (MD action)
signal_cue_instantly none (MD action)
wait none (MD action)

Мир и положение#

Вызов / событие Возвращает
create_position none (MD action)
find_asteroid_with_yield_in_sector none (MD action)
find_closest_resource none (MD action)
find_cluster none (MD action)
find_resource_area none (MD action)
find_sector none (MD action)
find_sector_in_range none (MD action)
get_floor_position none (MD action)
get_zone_at_position none (MD action)
launch_resourceprobe none (MD action)
leave_control_position none (MD action)
match_distance none (MD action)
position none (MD action)
refposition none (MD action)
rotation none (MD action)

Правила и поведение AI#

Вызов / событие Возвращает
create_signal_leak none (MD action)
disable_collision_response none (MD action)
enable_collision_response none (MD action)
release_detached_subordinate_group none (MD action)
set_subordinate_group_assignment none (MD action)
signal_objects none (MD action)

Приказы и управление#

Вызов / событие Возвращает
cancel_all_orders none (MD action)
cancel_order none (MD action)
create_formation none (MD action)
create_order none (MD action)
edit_order_param none (MD action)
find_dockingbay none (MD action)
find_player_transporter_slot none (MD action)
leave_formation none (MD action)
match_dock none (MD action)
move_order none (MD action)
remove_docking_request none (MD action)
remove_object_commander none (MD action)
remove_undocking_request none (MD action)
request_docking none (MD action)
set_object_commander none (MD action)
spawn_docked none (MD action)
undock none (MD action)

События и интерфейс#

Вызов / событие Возвращает
debug_text none (MD action)
lock_all_flight_input none (MD action)
lock_all_shooting_input none (MD action)
play_sound none (MD action)
raise_lua_event none (MD action)
unlock_all_flight_input none (MD action)
unlock_all_shooting_input none (MD action)

Торговля, груз и счета#

Вызов / событие Возвращает
add_cargo none (MD action)
add_inventory none (MD action)
add_money none (MD action)
create_trade_computer none (MD action)
create_trade_offer none (MD action)
create_trade_order none (MD action)
drop_cargo none (MD action)
find_inventoryconsole_slot none (MD action)
find_inventoryworkbench_slot none (MD action)
price none (MD action)
remove_cargo none (MD action)
remove_inventory none (MD action)
remove_money none (MD action)
remove_trade_offer none (MD action)
set_object_max_budget none (MD action)
set_object_min_budget none (MD action)
transfer_money none (MD action)

Фракции и дипломатия#

Вызов / событие Возвращает
add_licence none (MD action)
match_relation_to none (MD action)
remove_licence none (MD action)
set_faction_identity none (MD action)
set_faction_relation none (MD action)
set_faction_relation_locked none (MD action)
set_object_fleet_name none (MD action)

NPC и персонажи#

Вызов / событие Возвращает
add_actor_to_room none (MD action)
assign_control_entity none (MD action)
assign_hired_actor none (MD action)
clear_actor_lookat none (MD action)
clear_actor_roomslot none (MD action)
create_control_entity none (MD action)
create_cue_actor none (MD action)
create_npc_template none (MD action)
dismiss_control_entity none (MD action)
find_npc_slot none (MD action)
lock_all_firstperson_input none (MD action)
reassign_existing_people none (MD action)
remove_cue_actor none (MD action)
remove_npc_template none (MD action)
set_actor_lookat none (MD action)
set_entity_overrides none (MD action)
set_entity_role none (MD action)
set_entity_traits none (MD action)
set_entity_type none (MD action)
set_npc_template_role none (MD action)
set_player_entity_position none (MD action)
start_actor_sequence none (MD action)
unlock_all_firstperson_input none (MD action)