Home   Help Search Login Register  

Author Topic: setting fuel  (Read 555 times)

0 Members and 1 Guest are viewing this topic.

recon

  • Guest
setting fuel
« on: 27 Mar 2003, 14:44:04 »
I have a uh-60 flying along on fairly low fuel how can I set its fuel to maximum with a trigger?
            Thanks
                   recon.

Offline Artak

  • The old beanbag shaker
  • Former Staff
  • ****
  • You want to talk about it, yes?
    • OFP Team Finlanders
Re:setting fuel
« Reply #1 on: 27 Mar 2003, 14:53:50 »
name your uh if you haven't already and in the triggers on activation line you put

choppername setfuel 1

See that you make a large enough trigger to activate it if you want to use a 'side present' trigger.
Furthermore you should group the trigger to your chopper so that no-one else triggers it.. if you want to. You know how to activate a trigger don't you? Of course you do  :D ;)
Not all is lost.

Offline Wadmann

  • OFPEC Patron
  • ****
  • I'm the next evolutionary step after a llama!
Re:setting fuel
« Reply #2 on: 28 Mar 2003, 17:38:45 »

Furthermore you should group the trigger to your chopper so that no-one else triggers it.. if you want to.

How does one "group" a trigger to a unit? Are you referring to synchronizing a trigger to a unit? Can it be done by the trigger's condition field? Something like "choppername present(?) =true"? I had some touble last night getting  a specific unit to activate a trigger and could use some help on this topic. Thanks in advance.
Check out my Camouflage Collection! New items added 31 July 2005.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:setting fuel
« Reply #3 on: 28 Mar 2003, 17:43:17 »
It is like synchro, but not quite the same.

Create a unit.   Create a trigger.    Hit F2 for Groups.    Drag and drop a line (like synchro) from the unit to the trigger.   Now open up the trigger and look at the Activation box.   You will now find different options there.  In this case you would use vehicle present.
Plenty of reviewed ArmA missions for you to play

Iwesshome

  • Guest
Re:setting fuel
« Reply #4 on: 28 Mar 2003, 18:22:59 »
Why dont you use this refuel loop script that Artak created for me...  ;D
Quote
;[unitname] exec "refuel.sqs"

_helo1 = _this select 0

#start
?!(alive _helo1): exit
_helo1 setfuel 1
~500
goto "start"

You will never run out of gas  8)
IW
« Last Edit: 28 Mar 2003, 18:24:15 by IW »

Offline OFPWiZard

  • Members
  • *
Re:setting fuel
« Reply #5 on: 28 Mar 2003, 18:29:12 »
Hello

This is a easy way.

Trigger

Make a trigger and do what you want it to do like the activation and type... size ect.

in the On Activation Field you would put:
name setFuel 1
name setFuel 0

1 = Regain all fuel
0 = Clear all fuel

Bye