ACE3/docs/wiki/framework
Will/KJW 33dc7e3dbd
Hit Reactions - Add weapon dropping on arm hit (#9539)
* Create fnc_checkWeaponDrop.sqf

* Update fnc_checkWeaponDrop.sqf

* Create XEH_postInit.sqf

* Update XEH_postInit.sqf

* Update XEH_postInit.sqf

* Update fnc_checkWeaponDrop.sqf

* fix spelling issue

* Update initSettings.sqf

Add weaponDropEnabled setting

* Update stringtable.xml

* Update fnc_checkWeaponDrop.sqf

* Update initSettings.sqf

Forgot a bracket

* Add weapon drop chance setting

* Update XEH_postInit.sqf

* Update CfgEventHandlers.hpp

actually make it run postinit

* Update XEH_PREP.hpp

* Update stringtable.xml

* Update initSettings.sqf

No need, set chance to 0

* Update XEH_postInit.sqf

already comparing against chance, can just set to 0

* Update initSettings.sqf

* Update stringtable.xml

* Update XEH_postInit.sqf

* add arm hit chance

fix weapon thing too

* Update stringtable.xml

* Update addons/hitreactions/functions/fnc_checkWeaponDrop.sqf

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>

* Update addons/hitreactions/functions/fnc_checkWeaponDrop.sqf

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>

* appearance stuff

* Update addons/hitreactions/initSettings.sqf

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>

* Update addons/hitreactions/functions/fnc_checkWeaponDrop.sqf

Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>

* kjw's poor arithmetic

* Update fnc_checkWeaponDrop.sqf

wrong check

* remove systemchat debug

whoops

* Update fnc_checkWeaponDrop.sqf

* Update XEH_postInit.sqf

* Update fnc_checkWeaponDrop.sqf

* Early exit, wait for clear

* Make default setting 0

* Update script_component.hpp

* Update XEH_postInit.sqf

* Update script_component.hpp

* Update XEH_postInit.sqf

* Update XEH_postInit.sqf

* Update addons/hitreactions/functions/fnc_checkWeaponDrop.sqf

* Update XEH_postInit.sqf

Unsure if exitWith in postInit is proper? Seems better than nesting all of that in another scope imo

* Update XEH_preInit.sqf

* Update fnc_checkWeaponDrop.sqf

* Update addons/hitreactions/XEH_preInit.sqf

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>

* Update hitreactions.md

* Update hitreactions.md

* Update addons/hitreactions/functions/fnc_checkWeaponDrop.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update addons/hitreactions/functions/fnc_checkWeaponDrop.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update addons/hitreactions/initSettings.sqf

* Update XEH_postInit.sqf

* Update addons/hitreactions/XEH_postInit.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update addons/hitreactions/XEH_postInit.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update addons/hitreactions/functions/fnc_checkWeaponDrop.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update addons/hitreactions/functions/fnc_checkWeaponDrop.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Update XEH_postInit.sqf

* Update XEH_postInit.sqf

* Update fnc_checkWeaponDrop.sqf

* Spacing fixes

* Update addons/hitreactions/XEH_postInit.sqf

Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>

* Take _hitEntity into account if exists

* Update fnc_checkWeaponDrop.sqf

_didHitGun will no longer ever be true

* Minor component cleanup

* Removed gun hits, added double hit detection

* Decouple AI and player probabilities

* Tweaks and fixes

* Update XEH_PREP.hpp

* Add missing param

* Fixed bugged state AI are in after using TakeWeapon

* Fixes and cleanup

* Made API clear, moved undroppable to config entry

* Update fnc_checkWeaponDrop.sqf

* Check for Zeus RC and avoid `setUnitLoadout`

* Expand `addWeapon`'s capabilities

* Cleaned up `addWeapon`

* Removed weapon replacement as it's apparently not necessary

* Defined undefined variable

---------

Co-authored-by: Grim <69561145+LinkIsGrim@users.noreply.github.com>
Co-authored-by: Jouni Järvinen <rautamiekka@users.noreply.github.com>
Co-authored-by: johnb432 <58661205+johnb432@users.noreply.github.com>
2024-06-06 04:49:15 -07:00
..
advanced-ballistics-framework.md Advanced Ballistics - wiki/framework update 2017-11-23 14:36:36 +01:00
advanced-fatigue-framework.md Update docs and stringtable.xml 2017-11-15 12:22:56 -05:00
advanced-throwing-framework.md Replace CPP highlighting with SQF highlighting (#8656) 2021-10-31 14:48:47 -05:00
arsenal-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
atragmx-framework.md Consitently capitalize first letters of wiki titles (#6615) 2018-10-05 15:20:50 +02:00
attach-framework.md Wiki - Fix search being broken by the attach-framework page (#9969) 2024-04-22 19:08:49 +02:00
cargo-framework.md Cargo - Add documentation on adding cargo via config (#9994) 2024-05-21 20:16:05 -05:00
checkPBOs-framework.md fix wiki suggesting activatedAddon to export addon list 2017-10-26 09:05:30 +02:00
common-framework.md Common - Add keybind and function to unload unit's weapon/muzzle (#8735) 2022-05-18 13:07:47 -05:00
cookoff-framework.md Cookoff - Mini-Rewrite (#9758) 2024-06-05 12:36:39 -07:00
crew-served-weapons-framework.md Overhaul CSW docs (#8206) 2021-04-12 08:52:53 +02:00
disposables-framework.md Apply suggestions from code review 2019-10-17 13:28:05 -05:00
dragging-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
events-framework.md Cookoff - Mini-Rewrite (#9758) 2024-06-05 12:36:39 -07:00
explosives-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
fastroping-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
field-rations-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
fire-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
fortify-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
frag-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
goggles-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
grenades-framework.md Grenades - Add grenade rolling (#10005) 2024-05-27 02:19:52 -07:00
gunbag-framework.md Move gunbag type from inheritance to config property (#7022) 2019-06-04 20:00:55 -05:00
headless-framework.md Headless - Improve group transfer and add API (#9874) 2024-05-29 15:49:59 -03:00
hearing-framework.md Add version information to most wiki feature and framework pages (#4303) 2016-08-30 15:49:04 +02:00
hitreactions-framework.md Hit Reactions - Add weapon dropping on arm hit (#9539) 2024-06-06 04:49:15 -07:00
hunterkiller-framework.md Update hunterkiller-framework.md (#9026) 2022-09-08 21:20:11 +02:00
huntIR-framework.md Add version information to most wiki feature and framework pages (#4303) 2016-08-30 15:49:04 +02:00
index.md Documentation - Only split the wanted ul into columns 2023-05-01 17:25:29 +02:00
interactionMenu-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
javelin-framework.md Add version information to most wiki feature and framework pages (#4303) 2016-08-30 15:49:04 +02:00
laser-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
map-framework.md Map wiki fix (#5446) 2017-08-22 20:33:26 +02:00
medical-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
medical-treatment-framework.md Medical Treatment - Fix low SpO2 making units go into cardiac arrest again (#10003) 2024-05-10 20:39:41 -05:00
missile-guidance-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
missionmodules-framework.md Add wiki ACEX sections and merge Mission Makers and Framework sections (#4307) 2016-09-08 21:19:07 +02:00
modules-framework.md Add module documentation (#4297) 2016-11-25 00:11:27 +01:00
nametags-framework.md Nametags - Add documentation (#10055) 2024-06-05 08:51:14 -07:00
nightvision-framework.md Night Vision - Add prefix to colorPreset (#9520) 2023-10-18 15:03:21 -04:00
overheating-framework.md Overheating - Add barrel mass config value (#8906) 2022-05-11 18:21:05 -05:00
overpressure-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
parachute-framework.md Parachute - Add failure chance (#8226) 2021-04-30 22:48:02 -05:00
pylons-framework.md Add pylon whitelist option (#6080) 2018-01-28 15:38:48 -06:00
rearm-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
refuel-framework.md Refuel - Add enable setting (#7613) 2024-05-23 21:47:19 +02:00
reloadlaunchers-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
repair-framework.md Repair - Allow setting spare wheels/tracks count in config (#9481) 2023-10-12 12:45:56 -04:00
respawn-framework.md Replace CPP highlighting with SQF highlighting (#8656) 2021-10-31 14:48:47 -05:00
scopes-framework.md Scopes - wiki/framework update (#5799) 2017-11-22 11:28:54 +01:00
settings-framework.md Convert ACE_settings to CBA_settings (#4895) 2017-11-11 20:21:55 +01:00
sitting-framework.md Docs - Fix missing sitting property in docs (#9403) 2023-09-17 12:43:40 +02:00
slideshow-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
spectator-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
switchunits-framework.md Replace CPP highlighting with SQF highlighting (#8656) 2021-10-31 14:48:47 -05:00
tagging-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
trenches-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
ui-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
vehicledamage-framework.md Cookoff - Mini-Rewrite (#9758) 2024-06-05 12:36:39 -07:00
vehiclelock-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
vehicles-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
viewports-framework.md Documentation - Fix Viewports versions (#8919) 2022-05-22 22:51:36 +02:00
weather-framework.md Weather - Add variable to temporarily pause wind simulation (#9057) 2023-11-23 15:16:55 -03:00
winddeflection-framework.md Add wiki ACEX sections and merge Mission Makers and Framework sections (#4307) 2016-09-08 21:19:07 +02:00
wirecutter-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00
xm157-framework.md Docs - Fix tables and inconsistencies (#9952) 2024-04-19 20:53:33 +00:00