Home   Help Search Login Register  

Author Topic: question involving triggers  (Read 1319 times)

0 Members and 1 Guest are viewing this topic.

BlackDeath-CFH

  • Guest
question involving triggers
« on: 06 Sep 2002, 19:40:26 »
ok, im working on a mision where your flying in a c130, but once you enter this one area (trigger activated) i want a rocket to fly in and hit the plane, now when this happens i want a message to appear saying 'blah blah blah the pkanes been hit' but i dont know how to get the rocket to hit the plane and the message to appear a few seconds after, is there a way to do this?

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:question involving triggers
« Reply #1 on: 06 Sep 2002, 19:45:59 »
Check out the editors depot.  Find a script be Sefe about a guided missle script.  Its exactly what you need, if its up yet.

As for your "Oh no, the planes hit"

Using the name of the plane (you need to name it) make a trigger and put in the condition field;

GetDammage PlaneName >0

Now as soon as the plane gets damaged (from the missle) the trigger will activate.  You can use the text option in the trigger options, or a SideChat or similar.

Offline Messiah

  • Honourary OFPEC Patron & Drinking Buddy of Wolfsbane
  • Honoured Contributor
  • ***
  • OFPEC Veteran
    • Project UK Forces
Re:question involving triggers
« Reply #2 on: 06 Sep 2002, 19:47:20 »
yep, its sefe's SAM guided missile - under aiborne section i believe - cant remember exactly where i uploaded it  ;)
Proud Member of the Volunteer Commando Battalion

T.S.C.Plage

  • Guest
Re:question involving triggers
« Reply #3 on: 06 Sep 2002, 20:25:03 »
Haven't tested it but maybe it  works?

Create a missile (Maverick, Hellfire...what ever) 50 meters behind the plane and tell it to domove getpos plane.

For the text only write this in a script:

#DammageControl

? nameofplane dammage > 0.1 : TitleText ["We're hit...","Plain"]

goto "Dammagecontrol"


I think I've to test it myself...

Greetz
Plage

Offline icarus_uk

  • Members
  • *
  • LiarLiarPants Inflame True
    • [furryclan]
Re:question involving triggers
« Reply #4 on: 06 Sep 2002, 20:38:22 »
Ugly ugly ugly.


@ nameofplane GetDammage > 0.1
TitleText ["We're hit...","Plain"]

Does the same thing without the loop.  Oh and I looked for a command "Dammage", but couldnt find one.

BlackDeath-CFH

  • Guest
Re:question involving triggers
« Reply #5 on: 06 Sep 2002, 20:38:36 »
Guided SAM Missile script?

i just tried this script and its made by sefe, this is not exactly what im looking for, when you get into this area i want the missle to fly out and hit the plane. i dont wanna have to do it ymself because im riding in the plane.
« Last Edit: 06 Sep 2002, 20:49:20 by BlackDeath-CFH »