Home   Help Search Login Register  

Author Topic: fuel dump  (Read 873 times)

0 Members and 1 Guest are viewing this topic.

Offline Evan Scown

  • Members
  • *
fuel dump
« on: 11 Jun 2006, 21:58:37 »
I'm wanting to know how I can set a choppers fuel to be equal to 0 after it passes a certain longitude point on a map. Say for example it is heading south from 02 and it drops all it's fuel at 11

SgtSlick

  • Guest
Re: fuel dump
« Reply #1 on: 11 Jun 2006, 22:00:49 »
just use a trigger, its much easier  ;)

Offline Evan Scown

  • Members
  • *
Re: fuel dump
« Reply #2 on: 11 Jun 2006, 22:24:20 »
For n00bs like me who don't get triggers?

Offline bedges

  • Administrator
  • *****
    • OFPEC The Editing Center
Re: fuel dump
« Reply #3 on: 11 Jun 2006, 22:40:13 »
at the top of the editor there's a "triggers" button. click it.

now double click on the map. the triggers dialog will appear.



make axis a 100, axis b 3000 and the angle 90. leave it as an ellipse.

leave all the activation stuff.

leave the next bit as well.

at the bottom where it says 'on activation', type

Code: [Select]
chopper_name setfuel 0
click ok.

now you have a huge trigger. if you click and hold on it, and press the shift key, you can move the mouse around to change its angle to whatever you want if it's not correct.

click and drag the trigger to wherever you need it on the map.

at the top of the editor there's a "groups" button. click it.

click and hold on the trigger. now drag the mouse to the chopper. once the mouse is over the chopper, let go. there should be a blue line connecting the trigger and the chopper, meaning they're grouped.

save and preview. the chopper's fuel will be set to 0 once it enters the trigger.

Offline Evan Scown

  • Members
  • *
Re: fuel dump
« Reply #4 on: 11 Jun 2006, 22:43:40 »
Thankyou SOOOO much. Now I can script triggers! OFPEC is great!