Home   Help Search Login Register  

Author Topic: detect missile  (Read 809 times)

0 Members and 1 Guest are viewing this topic.

Offline TonyRanger

  • Members
  • *
  • I'm a llama!
detect missile
« on: 21 Mar 2004, 14:42:31 »
first I do this
planename addeventhandler["incomingmissile",{detect=true}]
in a trigger I write
?(planename distance nearestobject[planename,"aalauncher"] <10 ) and ((random10)> 3):deletevehicle nearestobject[planename,"aalauncher"]
 but it not worked can anyone help me?

BibiPhoque

  • Guest
Re:detect missile
« Reply #1 on: 21 Mar 2004, 15:58:10 »
I think the trigger should be like this:
Condition field : (planename distance nearestobject[planename,"aalauncher"] <10 ) and ((random10)> 3)
On Activation field : deletevehicle nearestobject[planename,"aalauncher"]

Correct me if I'm wrong :p

Offline TonyRanger

  • Members
  • *
  • I'm a llama!
Re:detect missile
« Reply #2 on: 22 Mar 2004, 14:32:31 »
what the difference between your advise and my opinion? ^_^

BibiPhoque

  • Guest
Re:detect missile
« Reply #3 on: 22 Mar 2004, 20:40:47 »
Well, I don't know... what did you put in the Condition and On Activation field?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:detect missile
« Reply #4 on: 23 Mar 2004, 01:11:35 »
TonyRanger, you're using script syntax in a trigger, that's why it doesn't work.     Try exactly what Bibiphoque suggested and see if it works.   ;)
Plenty of reviewed ArmA missions for you to play

Offline TonyRanger

  • Members
  • *
  • I'm a llama!
Re:detect missile
« Reply #5 on: 23 Mar 2004, 12:38:11 »
I already write it in Condition and On Activation field,last time I write "?"and":",because of I forget how to write the word"Condition and On Activation field" that time.^_^

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:detect missile
« Reply #6 on: 23 Mar 2004, 19:05:01 »
OK, well can you tell us more about what goes wrong?  Any error messages?   How do you know it doesn't work?   The more details you can tell us the better.

Can you make either of the conditions work?
Plenty of reviewed ArmA missions for you to play

Offline TonyRanger

  • Members
  • *
  • I'm a llama!
Re:detect missile
« Reply #7 on: 24 Mar 2004, 03:58:34 »
in fact,I haven't tried it yet.because of I don't know the name of AAlauncher.Is the AAlauncher's name "AAlauncher"?and what anther missiles' name?(such as at3,at4,tow,hellfire,rocket,maverick...).if we know these name of missile ,my script will work?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:detect missile
« Reply #8 on: 24 Mar 2004, 09:22:31 »
Weapons and ammo listing in the Ed Depot - tutorials - references for the missile names.
Plenty of reviewed ArmA missions for you to play

Offline TonyRanger

  • Members
  • *
  • I'm a llama!
Re:detect missile
« Reply #9 on: 24 Mar 2004, 11:58:15 »
ok,I see.I'll go and see what it is.thanks