Pictou
Member-
Content Count
10 -
Joined
-
Last visited
-
Medals
Community Reputation
0 NeutralAbout Pictou
-
Rank
Private
-
Force a BLUEFOR tank to shoot a BLUEFOR vehicle.
Pictou replied to Pictou's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello nikiller, Thank you very much for your help, it works perfectly. I would like to add 2 questions on top, really close to this one. For example, I would like a piece of coding that would make the hunter HMG shoot an infantry. I tried many ways but couldn't find one to work : doFire, fire, forceWeaponFire and finally fireAtTarget that only shot one bullet. From what I noticed, the fire command allowed the Slam tank to shoot the hunter, and the hunter to shoot the Slam tank, however, the hunter cannot shoot another hunter with the command fire. It seems there is a hierarchy in these commands and I need to use the correct one for each situation, however I can't find any help on the internet as all the solutions proposed do not work for a reason I don't know. The questions are simple : How can I make the hunter shoot another hunter How can I make the hunter shoot an infantry Note aside, the fire command work with an AT infantry shooting the hunter, but not a rifleman shooting the hunter (probably because he has no AT capability). Thank you again for your help. Happy new year! -
Force a BLUEFOR tank to shoot a BLUEFOR vehicle.
Pictou replied to Pictou's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello nikiller, Thanks for your help, with the script the vehicle is targeting correctly but still do not fire. Just a correction in case someone tries, code in the init field should be : nameOfVariable=[sLAM1, HMG1] execVM "myScriptName.sqf", otherwise an error Type script, expected nothing occurs. Have you used the command fire before? does it work with vehicles? -
Force a BLUEFOR tank to shoot a BLUEFOR vehicle.
Pictou replied to Pictou's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Helli Nikiller, I think I'm using your script the wrong way. Let me describe you what I did so you can point my mistakes. I don't know where to put that script, so I decided to put it in the initialization of the slammer unit named "SLAM1". The target named HMG1 is set in front of the slammer (SLAM1). I discarded the two first lines as I have an error stating that I'm using global variables in a local statement. I replaced _unit with SLAM1 I replaced _target with HMG1 When I do this, and I'm sure it's wrong but I don't know where because of my lack of knowledge, the game never starts and the game crashes (probably because of the while loop). Could you tell me, step by step, what I should do or point me to a website where I could learn what to do with the piece of coding you shared here? Thank you, and sorry but I barely started. -
Force a BLUEFOR tank to shoot a BLUEFOR vehicle.
Pictou replied to Pictou's topic in ARMA 3 - MISSION EDITING & SCRIPTING
Yup I thought about that, but I would like to force the vehicle to fire, not just bait it. It matters to me that both vehicles are BLUEFOR or both OPFOR. -
Pictou started following Force a BLUEFOR tank to shoot a BLUEFOR vehicle.
-
Force a BLUEFOR tank to shoot a BLUEFOR vehicle.
Pictou posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
Hello everyone, I started playing around with the editor and I'm trying to make a Slammer shoot a HMG hunter. I used multiple commands, doFire, fireAtTarget, forceWeaponFire, all work while I'm asking a soldier to shoot another one, but for vehicles it seems that the behaviour is different. How would you do it in a simple way? All I want is to pop two vehicles (slammer + HMG hunter), myself as a player and I want the slammer to shoot the hunter. I stopped trying as everytime I use a while loop, the game crashes. I'm learning to use the editor with videos on youtube and with google, have you got a better way to learn? Thank you. -
[MP][COOP] COMBAT ASSAULT - Official Thread
Pictou replied to code34's topic in ARMA 3 - USER MISSIONS
Just passing by to say that I enjoyed it very much! keep up the good work! -
Pretty good map, nice job!
-
Is this mission playable with a coop game of only 2 players?
-
Nice reading!
-
I like the game more and more. I'm just writing this post because I need 5 posts to become a regular member so I can finally create my own thread to ask a simple question that requires only 2 minutes of someone's time and I can't find the answer on google.