OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: DjTano on 22 Jun 2009, 03:18:32
-
Hey guise,
ive been trying to have a trigger which will make a helicopter get to a certain destination and drop off some troops, then leave, but i have a little problem
if i put any waypoint on the helicopter then it will start hovering, making it use up fuel, which is not what i want
so i thought id just make the pilots get out, and get in when the switch is activated
but when they get out the pilots start running off in a random direction infinitely, making it impossible for me to get this to work
can you guys help me? maybe there is a different approach to this?
-
Try this:
1. You have your "get out" waypoint, set the behaviour to careless.
2. Put a "move" waypoint nearby (this one may not be necessary but i find it safer in my experience to put "move" waypoints in between other waypoints).
3. Then put a "hold" waypoint where they'll be standing by. This should keep them from running off. This is what you should synchronize with your switch trigger.
4. Then another "move" waypoint. (here you could set behaviour and combatmode back to your desired settings).
5. Now you can put your "get in" waypoint.
Hope this helps.
Cheers!!
-
thanks a lot, the "careless" did it
-
Sure. Glad to be able to help.
Cheers!
-
Easiest way to do this would to toggle the fuel of the chopper to 0 when you place it. create its waypoints as normal an when you need it to respond, set it's fuel to 1 within a trigger, waypoint or script.