Posted: . At: 10:26 AM. This was 1 year ago. Post ID: 17901
Page permalink. WordPress uses cookies, or tiny pieces of information stored on your computer, to verify who you are. There are cookies for logged in users and for commenters.
These cookies expire two weeks after they are set.


A nice Arma 3 script to manipulate AI behavior when shot at.


Put this in your init.sqf, it makes AI engage from long ranges but without laser accuracy, the first lines handle the AI accuracy, and units with high courage are less susceptible to suppression. This might help quite a bit when making an Arma 3 mission.

Put this code in the InitPlayerLocal.sqf and this will add the arsenal to the object named well1.

InitPlayerLocal.sqf
1
well1, "Open the Arsenal", "\A3\Ui_f\data\Logos\a_64_ca.paa", "\A3\Ui_f\data\Logos\a_64_ca.paa", "(_this distance _target < 6) && (isNull (findDisplay 162))", "isNull (findDisplay 162)", {}, BIS_holdActionProgress, {["Open",true] call BIS_fnc_arsenal;}, {}, [], 0.5, nil, false] call BIS_fnc_holdActionAdd;

This code in the InitPlayerLocal.sqf will add a prompt to a TV screen, this allows a player to read about International Humanitarian Law.

InitPlayerLocal.sqf
1
[BIS_TV1, localize "STR_A3_Orange_Faction_IDAP_action_FM", "\a3\Missions_F_Orange\Data\Img\Showcase_LawsOfWar\action_access_fm_ca", "\a3\Missions_F_Orange\Data\Img\Showcase_LawsOfWar\action_access_fm_ca", "(_this distance _target < 3) && (isNull (findDisplay 162))", "isNull (findDisplay 162)", {}, BIS_holdActionProgress, {BIS_TV1 say3D "Orange_Access_FM"; ["InternationalHumanitarianLaw", "Overview", findDisplay 46, localize "STR_A3_Orange_Faction_IDAP_FM_filter_LoW"] call BIS_fnc_openFieldManual}, {}, [], 0.5, nil, false] call BIS_fnc_holdActionAdd;

Leave a Comment

This site uses Akismet to reduce spam. Learn how your comment data is processed.