OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Agent Fire on 17 Aug 2003, 23:31:03

Title: shooting at an invisible target
Post by: Agent Fire on 17 Aug 2003, 23:31:03
Hi i'm back after all these months. Anyway, just trying to solve a little problem - I want a soldier to continue to fire onto an invisible spot on the ground. So far I've tried "dofire" onto an "invisible h", but it seems that the dofire command will only allow units to shoot onto actual soldiers or vehicles - not objects. I posted a similar problem a while back, and it was suggested that I somehow put a unit that will be fired upon underground and out of sight... Anyone know how I can do that? ???
Title: Re:shooting at an invisible target
Post by: Kaliyuga on 17 Aug 2003, 23:40:35
to sink a unit underground (M2 works well for that trick) put this in its init line:

this setpos [getpos this select 0, getpos this select 0, -X]

where  X = Meters

someone came out with an actual invisible target though If I'm not mistaken ...  

:cheers: :toocool:
Title: Re:shooting at an invisible target
Post by: Putin on 17 Aug 2003, 23:42:40
Search with Google for an german OpF Webside. There I downloadet my Invisible targets.
Inv. Armoured Targets, Human Targets and even Laserguidet Bomb Targets.
And they work realy great.
Title: Re:shooting at an invisible target
Post by: Agent Fire on 17 Aug 2003, 23:56:19
 :) http://www.aef-kampagne.de/english/feat_invTargets.htm (http://www.aef-kampagne.de/english/feat_invTargets.htm)
Title: Re:shooting at an invisible target
Post by: Agent Fire on 18 Aug 2003, 00:00:15
 :cheers:
Title: Re:shooting at an invisible target
Post by: Agent Fire on 18 Aug 2003, 00:03:29
 :cheers: Kaliyuga and Putin - u r [two of the] best