OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Hasegawa on 04 Nov 2003, 20:41:56

Title: Need a mine script.
Post by: Hasegawa on 04 Nov 2003, 20:41:56
So I need a script to make an AP-mine detonate when somebody steps on the trigger surrounding the mine, so the script attached to the trigger on top of the mine detonates the mine when the trigger is launched. The mine pack by chain of command didn't have the script in the zip.

(Hey, this is my first message here)
Title: Re:Need a mine script.
Post by: Hasegawa on 04 Nov 2003, 20:45:42
Terrific, i managed to screw up the pic I attached. Please ignore that.  ::)
Title: Re:Need a mine script.
Post by: macguba on 04 Nov 2003, 21:07:38
Welcome to the forum!

If you look in the Editors Depot there are some mine scripts there - one of those might do the trick.
Title: Re:Need a mine script.
Post by: m21man on 04 Nov 2003, 21:11:00
If you're using CoC mines, just place a mine, name it anything (I'll use mine1 as an example), then make a trigger on top of the mine. Set the trigger to be set off by anybody, make the radius small, and in the On Activation field put mine1 setdammage 1.