ACE3/addons/interaction/functions
Dystopian 96f81f1c9b
Interaction - Add actions based on animations (#6144)
* Add actions based on animations

* Add setting

* Add ability to set items for users

* Add actions for 1.82 changes

Add actions for backpacks, canisters, entrench tool.
Move items and backpack to WeaponHolder.

* Add RHS 0.4.6 ZIL spare

* Update to new standards

* Handle RHS BTR retread system

* Make init faster: move condition to configClasses

* Fix CUP fake anims

* Refactor

* Rework

* Rename init function

* Decrease number of classes to init

* Fix merge mistake

* Apply suggestions from code review

* Updated code for current mod structure

* Multiple fixes & tweaks

- Made anim setting require a mission restart
- Handle more types of items that can be spawned
- Prioritise adding items to inventory and only drop on ground if no inventory space
- Add more position checks to make certain no valid position are present before stopping
- If 1 item was spawned in, it's considered as success
- Disable RHS' wheel replacement only if ace_repair is loaded

* Update CfgVehicles.hpp

* cache config lookup at preStart

* Fix error

* Add text config entry for progress bar title

* Restructure interactions, improved some locations & added interaction to some missing vehicles

* Reverted preInit change

---------

Co-authored-by: jonpas <jonpas33@gmail.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
Co-authored-by: PabstMirror <pabstmirror@gmail.com>
2024-08-10 23:29:50 -05:00
..
fnc_addPassengerActions.sqf Interact Menu - Use hashmaps for interactions (#9920) 2024-05-21 20:18:32 -05:00
fnc_addPassengersActions.sqf General - SQF Improvements (#9698) 2024-02-04 14:50:24 -03:00
fnc_canBecomeLeader.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_canFlip.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_canInteractWithCivilian.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_canInteractWithVehicleCrew.sqf Interaction - Add crew status check for some vehicle interactions (#9637) 2023-11-11 09:03:32 -03:00
fnc_canJoinGroup.sqf General - Use ace_common_fnc_isAwake where possible (#10098) 2024-07-02 12:38:14 -07:00
fnc_canJoinTeam.sqf General - Use ace_common_fnc_isAwake where possible (#10098) 2024-07-02 12:38:14 -07:00
fnc_canPardon.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_canPassMagazine.sqf Interaction - Disable magazine passing to dead and unconscious units (#10091) 2024-06-28 05:41:04 -07:00
fnc_canPullOutBody.sqf General - Use variable for checking if medical is enabled (#10063) 2024-06-18 00:07:38 +00:00
fnc_canPush.sqf Interaction - Hide push interaction if target is in ViV cargo (#10127) 2024-07-19 18:26:14 +02:00
fnc_canRenameGroup.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_canTapShoulder.sqf General - Use ace_common_fnc_isAwake where possible (#10098) 2024-07-02 12:38:14 -07:00
fnc_doBecomeLeader.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_doRemoteControl.sqf Tools - Check example funcs in document_functions.py (#9630) 2023-11-08 12:00:05 -06:00
fnc_getDoor.sqf General - Replace toLower with toLowerANSI where applicable (#9790) 2024-03-07 22:08:13 +01:00
fnc_getDoorAnimations.sqf General - Replace toLower with toLowerANSI where applicable (#9790) 2024-03-07 22:08:13 +01:00
fnc_getDown.sqf General - Change count to isEqualTo where appropriate (#9921) 2024-04-06 11:57:08 -07:00
fnc_getGlassDoor.sqf General - Replace toLower with toLowerANSI where applicable (#9790) 2024-03-07 22:08:13 +01:00
fnc_getInteractionDistance.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_getVehiclePos.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_getVehiclePosComplex.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_getWeaponAttachmentsActions.sqf Interaction - Improve FUNC(switchWeaponAttachment) (#10145) 2024-08-09 14:08:07 -07:00
fnc_getWeaponPos.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_handleScrollWheel.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_hideMouseHint.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_initAnimActions.sqf Interaction - Add actions based on animations (#6144) 2024-08-10 23:29:50 -05:00
fnc_joinTeam.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_modifyJoinGroupAction.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_modifyTeamManagementAction.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_moduleInteraction.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_openDoor.sqf General - Change count to forEach where appropriate (#9890) 2024-04-04 08:15:26 -03:00
fnc_pardon.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_passMagazine.sqf Interaction - Make magazine passing animation optional (#9875) 2024-03-26 09:50:04 -03:00
fnc_pullOutBody.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_push.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_renameGroup.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_renameGroupUI.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_replaceTerrainObject.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00
fnc_sendAway.sqf General - Change count to isEqualTo where appropriate (#9921) 2024-04-06 11:57:08 -07:00
fnc_showMouseHint.sqf General - Replace toLower with toLowerANSI where applicable (#9790) 2024-03-07 22:08:13 +01:00
fnc_switchWeaponAttachment.sqf Interaction - Improve FUNC(switchWeaponAttachment) (#10145) 2024-08-09 14:08:07 -07:00
fnc_tapShoulder.sqf General - Relative script_component.hpp includes (#9378) 2023-09-12 20:58:10 +02:00