OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Joona on 27 May 2009, 20:24:34
-
1) In first of all i ask how the fire can be already in fire without i put it fire
2) How can i put men to parchute from a chopper :dunno:
-
Hello Joona,
1) In init field of fire object put:
this inflame true
2) More complicated but... name chopper helo, name unit guy, then put in a triggers activation:
guy action ["EJECT", helo]; unassignVehicle guy
Good luck !
Laggy
-
Thanks Laggy
I have new questions for my mission
1) How can i put some men to chopper in start of the game and they are not same group with the chopper.
2) How can i give NVgoggles to a man.
-
1) Different options, but name the chopper helo.
- Write in every units init: this moveincargo helo
- Write in only group leaders init: {_x moveincargo helo} foreach units group this
You might want to also write: [this] ordergetin true or {[_x] ordergetin true} foreach units group this
Otherwise the units don't really "know" they are in the chopper.
2) Make sure the unit has "space" for this weapon, or you'll have to remove another weapon to make space.
- Write in units init: this addweapon "NVgoggles"
Good luck and study the really useful COMREF for a lot of good information.
It will have the answers to most of your questions, just make sure you choose OFP commands.
New commands where added in ArmA, but they will not work in OFP.
Link: http://www.ofpec.com/COMREF/index.php
;) Laggy
-
I have a problem with that parchuting the guy always dies when he parchutes.
How can i put the chopper fly higher?
-
Here is one way:
Put this in helicopters waypoint:
helo flyInHeight 200
-
I have already searched but i didnt find anything about random bombing.
So can anybody tell me what i need to do for random artillery bombing? :dunno:
And how to put that tip screen to top west corner?
-
And how to put that tip screen to top west corner?
Like this: (in triggers activation line, in scripts or in waypoints etc. etc.)
Hint "Hello there!"
You should see COMREF, where is all commands for ofp. Thats the place where i started study making missions. Theres plenty of nice commands what gives you information of all tricks you can use.
http://www.ofpec.com/COMREF/