OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started 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
-
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
-
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
-
Thanks ;)
Wilco
/Trident