Search the Community
Showing results for tags 'mk41'.
Found 1 result
-
MK41 VLS Cruise missile - reliability problems.
Ulfgaar posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Just to place this into context - i made a mission where the players will be supported by some cruise missile fire, fired by the AI. There are 3 different targets, and 3 different MK41 VLS launch pads firing at each their target. I found this script/code and its been working very "on/off". It works every time in singleplayer, but only "occational" in multiplayer on a dedicated server - so im approachig you guys, the mighty Arma 3 oracle, to see if you guys can help me improve this code so that it'll work more predictably and reliably on dedicated servers too. This is the code im using: ------------------------------------------------ // This is the script I'm using in an .sqf ------------------------------------------------ west reportRemoteTarget [HAA1_0, 3000]; HAA1_0 confirmSensorTarget [west, true]; west reportRemoteTarget [T2, 3000]; T2 confirmSensorTarget [west, true]; west reportRemoteTarget [T1, 3000]; T1 confirmSensorTarget [west, true]; Cruise1 fireAtTarget [HAA1_0, "weapon_vls_01"]; Cruise2 fireAtTarget [T2, "weapon_vls_01"]; Cruise3 fireAtTarget [T1, "weapon_vls_01"]; ------------------------------------------------ // This is basically the information provided for each launcher ------------------------------------------------ west reportRemoteTarget [HAA1_0, 3000]; HAA1_0 confirmSensorTarget [west, true]; Cruise1 fireAtTarget [HAA1_0, "weapon_vls_01"]; While developing the mission, i do my fair share of testing on a dedicated server - first time i tried it, all 3 missiles fires and hits their targets. Next time i did some changes to the mission, although nothing to the settings of the targets/missiles or script - suddenly all 3 missiles fires, but 1 goes straight up - while 2 hit their target. And ofc, during the offical playthrough of the mission with my Arma 3 group, all 3 missiles fires but all 3 goes straight up and none of them seemingly targeting their targets. This was mildly put rather annoying. So in short, if any of you script-wizzes know how to help me out with this to have it work more predictably and reliably on a dedicated server it would be absolutely epic, and much appreciated.- 6 replies
-
- cruise missiles
- script
-
(and 2 more)
Tagged with: