OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: 456820 on 14 May 2005, 17:31:19

Title: anti tank rounds
Post by: 456820 on 14 May 2005, 17:31:19
okay ive checked search quickly but cant find anything and i know this has been asked several hundered times before
How doi target an anti tank round wich has been shot ay an AT soldier
just before it impacts it blacks ot so all you can hear is the exploding tank.
Title: Re:anti tank rounds
Post by: StonedSoldier on 14 May 2005, 17:47:27
unitname selectweapon "lawlauncher"
Title: Re:anti tank rounds
Post by: macguba on 14 May 2005, 17:51:55
456820, if you think of something just after making your post, it's better to modify your existing post rather than make a new one.   The modify button is in the top right hand corner of the post.  It helps keep the thread clear and easy to follow.   You're expecting each post to be by somebody different, so it is confusing it they're not.    Thanks.  ;)

As for the original question, I have a vague recollection that there is an incoming missile eventHandler or something.   Failing that you might be able to grab the missile with an nearestObject command, though since you'd need fired EHs on all the AT soldiers it could get messy.
Title: Re:anti tank rounds
Post by: 456820 on 14 May 2005, 18:05:43
well thanks Macguba and sorry i shall use the modify button in future i deleted the second question because its solved but the first is not i dont really have a clue on EH so i would like to try and avoid them if possible and thanks Stoned Soldier that worked.
I was thinking if it was possible to name the shell the at soldier will fire then attach the cam to it with a fast loop and slow down the time with timeacc command
Title: Re:anti tank rounds
Post by: Planck on 14 May 2005, 18:11:48
Quote
I was thinking if it was possible to name the shell the at soldier will fire

An interesting idea, but unfortunately I don't think you can do this.

At least, I can't think of a way to do it.


Planck
Title: Re:anti tank rounds
Post by: bdfy1 on 15 May 2005, 02:04:31
456820
I guess you are looking for somrthing like this ?
Title: Re:anti tank rounds
Post by: 456820 on 15 May 2005, 10:41:45
cheers i will check that out in a bit