Yolo Joe 11 Posted June 22, 2014 I want a helicopter to be repaired and re-armed when it lands inside a trigger. It has to work with MP. I already have the re-arming and repairing working. How can it be done? Thanks in advance! Share this post Link to post Share on other sites
IT07 10 Posted June 22, 2014 vehicle player isTouchingGround; You are welcome :) Share this post Link to post Share on other sites
Yolo Joe 11 Posted June 22, 2014 Where do I put the code? It does not want to go in the trigger OnAct. Wants me to put ";" after "player" Share this post Link to post Share on other sites
alduric 10 Posted June 22, 2014 {_x iskindof "land" and side _x == WEST} count thislist > 0; Use this. Share this post Link to post Share on other sites
IT07 10 Posted June 22, 2014 Use this. Are you kidding me? That script returns the amount of BLUFOR units..... has nothing to do with that the OP wants???? @chillroy: You should put the code I gave you in the trigger condition :) Sorry for the confusion. Share this post Link to post Share on other sites
Yolo Joe 11 Posted June 26, 2014 Nooooo.. It's not working. If I use the code you gave me, it wants me to return ";" before isTouchingGround. I tried "isTouchingGround player", but then the trigger area dont work. it activates once i land with myt parachute. ---------- Post added at 10:45 ---------- Previous post was at 10:42 ---------- And it has to work with multiple players and vehicles. But just the once who are inside the trigger area and is touching the ground. Share this post Link to post Share on other sites
John Kozak 14 Posted June 26, 2014 Nooooo.. It's not working. If I use the code you gave me, it wants me to return ";" before isTouchingGround. I tried "isTouchingGround player", but then the trigger area dont work. it activates once i land with myt parachute.---------- Post added at 10:45 ---------- Previous post was at 10:42 ---------- And it has to work with multiple players and vehicles. But just the once who are inside the trigger area and is touching the ground. isTouchingGround vehicle player && player in thislist Place this into trigger activation Share this post Link to post Share on other sites
Yolo Joe 11 Posted June 26, 2014 isTouchingGround vehicle player && player in thislistPlace this into trigger activation Placing it it Trigger Activation makes no sence and didn't work, so I put it in the trigger condition. It works, but I have to exit the vehicle for it to work. I want a helicopter to be repaired and re-armed when it lands inside a trigger. It has to work with MP. When I land with the helicopter on the helipad, it shoud rearm, repair and refuel. Now I have to exit the vehicle for the heli to repair... Share this post Link to post Share on other sites
terox 316 Posted June 26, 2014 condition: (getposATL Helo select 2) < 1.1 when its 1 metres off the ground the condition will become true then remove the fuel so it cant fly off then run your repair sequence then add the fuel call the script from the trigger Share this post Link to post Share on other sites
Yolo Joe 11 Posted June 27, 2014 But is is multiplayer compatible? And does it work with multiple vehicles? :P Can't i just replace "Helo" with "vehicle"? Share this post Link to post Share on other sites