OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: trident on 24 Aug 2004, 12:19:37

Title: Placing mines with trip wire
Post by: trident on 24 Aug 2004, 12:19:37
Hi,

Is it possible to make a soldier place a mine with a trip wire?

My thought is that you would click on the map like...
-First click is where trip wire starts...
-Second click is where trip wire ends and the mine is placed.
-Third click would be the direction of the mine (if directional).
(Is multi-clicking possible?)

The trip wire is a thin trigger.
Is it possible to add a trigger via script?

Suggestions anyone...?

/Trident
Title: Re:Placing mines with trip wire
Post by: Rokket on 24 Aug 2004, 12:50:01
I think the CoC Mines pack had tripwire for the claymores. Their mines were very slick and powerful. They did a lot of spooky/hi-tek scripting and magic.

www.thechainofcommand.net
Title: Re:Placing mines with trip wire
Post by: macguba on 24 Aug 2004, 13:40:47
You would place a thin trigger out to sea somewhere and move it into place.    SetPos works on triggers, I presume setDir does too though I don't actually know.    With onMapSingleClick you could do what you describe though it would require some nifty scripting and a dash of trigonometry.

In other words, try CoC first.   ;D
Title: Re:Placing mines with trip wire
Post by: trident on 24 Aug 2004, 16:03:17
Thanks  ;)
Wilco

/Trident