Search the Community
Showing results for tags 'handle'.
Found 3 results
-
handleautodeploy ArmA 3 Script HandleAutoDeploy
Rockhount posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Story This is a script that I wrote a few weeks ago for a friend. It's supposed to let AI's with specific backpack's deploy static weapons automatically in a combat. You can link specific backpacks with specific static weapons multiple times. This script doesn't work, if the AI is in a combat mode all the time or if the AI never gets to be in a combat mode. There are several routine integrated to avoid script errors. A description can be found inside the SQF file, how to execute the script. It's SP/MP/Dedicated and HC compatible. Have fun. Content It is a single ~80Code-Line-Big Script to let AI's with specific backpack's deploy static weapons automatically in a combat. Purpose The aim of this script is to make it easier to implement a universal script, which makes a combat with AI more interesting. Download Missions and Script on GitHub ArmaHolic Link Credits Script & Media: Rockhount Examples nul=[["B_Bergen_dgtl_F","B_Mortar_01_F"]] execVM "HandleAutoDeploy.sqf"; nul=[["B_Bergen_dgtl_F","B_Mortar_01_F"],["B_Bergen_mcamo_F","B_Mortar_01_F"]] execVM "HandleAutoDeploy.sqf"; nul=[["B_Bergen_dgtl_F","B_Mortar_01_F"],["B_Bergen_mcamo_F","B_Mortar_01_F"],["B_Bergen_hex_F","B_GMG_01_high_F"],["B_Bergen_tna_F","O_GMG_01_high_F"]] execVM "HandleAutoDeploy.sqf"; All 3 examples are possible, because there is no limit for the amount of parameters.- 12 replies
-
- 2
-
- arma
- armed assault
- (and 11 more)
-
handleattachto ArmA 3 Script HandleAttachTo
Rockhount posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Story This is a script that I wrote a few weeks ago for a friend. It's supposed to simplify the loading of cargo onto vehicles by the player. There are several routine integrated to avoid script errors. A description can be found inside the SQF file, how to execute the script. It's SP/MP/Dedicated and HC compatible. Have fun. Content It is a single ~140Code-Line-Big Script to enable the Player to attach objects with other objects via the action menu in a simple way. Purpose The aim of this script is to make it easier to implement a universal script, which enables the player to attach objects in a specific manner. Download Missions and Script on GitHub ArmaHolic Link Credits Script & Media: Rockhount Examples- 2 replies
-
- arma
- armed assault
- (and 13 more)
-
handle many addAction handles -> weird action results?
pierremgi posted a topic in ARMA 3 - TROUBLESHOOTING
Hi all, I experienced recently, playing on an Exile server, and choosing an action (added by a mod), the result was something totally different. Say, as example, trying to "open" a door, and obtaining a "GPS on" (toggling action in addon). It seems to me all addAction can be melt in many loaded mods, with a weird result. And i guess some reason is to be found in the way actions are handled. Let me try to explain. Please, consider this as a "feeling" more than a demonstration. Some mods like Exile, or other ones, are deeply managing the scrolling menus. Arma allows a lot of loaded mods at a time, some of them obviously using the same commands like addAction... The problem seems to me that, if each addon is consistent for its own purpose, the mix of them can be weird due to the ordinal handle (number, global variable) easy to override with another ordinal handle coming from another called addon. So, you could have the action menu "open door" ending by an "ejection" or any available action in the "alternate" context. Once again, it's just an example. (The winner is the last loaded?). One sure thing, BI improved recently the rsc Displays for their "layer". I guess these layers, as they were also ordinal handled, were too often overridden by the last similar ordinal one. Now, the layers can return strings, far more easy two differentiate when multiplying them. Perhaps, a same improvement could be done for other ordinal handles (addAction, addEvenHandler..) Not too critical for EHs as they are "stackable",... but actions aren't.