Home   Help Search Login Register  

Author Topic: New editor  (Read 1639 times)

0 Members and 2 Guests are viewing this topic.

Offline Joona

  • Members
  • *
New editor
« 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:

Offline laggy

  • Members
  • *
  • "Behold a pale horse"
Re: New editor
« Reply #1 on: 27 May 2009, 23:10:14 »
Hello Joona,

1) In init field of fire object put:
Code: [Select]
this inflame true
2) More complicated but... name chopper helo, name unit guy, then put in a triggers activation:
Code: [Select]
guy action ["EJECT", helo]; unassignVehicle guy
Good luck !

Laggy



« Last Edit: 27 May 2009, 23:12:13 by laggy »
And I looked and beheld a pale horse and his name that sat on him was Death and Hell followed with him.

Offline Joona

  • Members
  • *
Re: New editor
« Reply #2 on: 28 May 2009, 12:44:51 »
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.

Offline laggy

  • Members
  • *
  • "Behold a pale horse"
Re: New editor
« Reply #3 on: 28 May 2009, 13:02:59 »
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
And I looked and beheld a pale horse and his name that sat on him was Death and Hell followed with him.

Offline Joona

  • Members
  • *
Problem!
« Reply #4 on: 28 May 2009, 20:10:42 »
I have a problem with that parchuting the guy always dies when he parchutes.
How can i put the chopper fly higher?

Offline Yasirotta

  • Members
  • *
Re: New editor
« Reply #5 on: 28 May 2009, 20:33:26 »
Here is one way:

Put this in helicopters waypoint:
Code: [Select]
helo flyInHeight 200

Offline Joona

  • Members
  • *
2 things
« Reply #6 on: 29 May 2009, 16:31:03 »
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?
« Last Edit: 31 May 2009, 17:22:13 by Joona »

Offline Yasirotta

  • Members
  • *
Re: 2 things
« Reply #7 on: 31 May 2009, 19:12:47 »
And how to put that tip screen to top west corner?

Like this: (in triggers activation line, in scripts or in waypoints etc. etc.)
Code: [Select]
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/