Home   Help Search Login Register  

Author Topic: Kill trigger  (Read 1521 times)

0 Members and 1 Guest are viewing this topic.

Offline Insanoblan

  • Members
  • *
  • Look! Im a chicken Marge!
Kill trigger
« on: 25 Aug 2002, 07:04:12 »
How do i make a trigger that kills someone once they enter?
Hey kid, wanna see a dead body!?

crow

  • Guest
Re:Kill trigger
« Reply #1 on: 25 Aug 2002, 07:18:09 »
 :cheers:I got the following from Operation Flashpoint: Mission Editor Uber Reference Guide by Merciless Creations
How to make easy Anti
Personnel Mines Talbot Mines and Traps
9/13/01
5:01:43
PM
I just figured out how to make easy anti-personell mines that requires no script whatsoever. All you
need is:
An empty Mounted MG (don't worry, it wont be visible).
A trigger.
And (optional) a mine.
How to: Create the MG. Name it MG1 (or whatever u prefer...but i'll use MG1). Place this line in it's
init field:
this setpos [getpos this select 0, getpos this select 1, (getpos this select 2) -2] .
That will place it under ground, and not visible (duh) .
Now create the trigger. Make it small, like 2x2, and place it over the MG. Do NOT set the activation to
"anybody", since that will mean the MG will explode right away. Add "MG1 setdammage 4" (without
quotes) in it's On Activation field.
Now, once someone steps over the trigger, the MG will explode and kill the guy who walked over it.
Tada...if u want, u can now place a real mine over the 'buried' MG.
This should work for ya.  The above mentioned tut can be downloaded from thier site: http://www.MercilessCreations.com :cheers:

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:Kill trigger
« Reply #2 on: 25 Aug 2002, 08:43:22 »
...yes... that will work... ;)

But exploding MG's is an old, old trick that has long been in disuse. Ever since some bright spark discovered that you can camcreate munitions, it's been much easier (cleaner and cleverer) to use camcreate to make an explosion, rather than blowing up an MG. Try something like this

Trigger

Radius: about the size of an AP mine
Condition: Anyone present
Condition Field: this
OnActivation Field: boom = "grenade" camcreate getpos (thislist select 0)


buzzboy762

  • Guest
Re:Kill trigger
« Reply #3 on: 26 Aug 2002, 04:01:14 »
Wont naming each unit and setting triggers around the area you dont want them to enter work. Like tell the trigger to set the dammage of that unit to like 4(i think that will waste him).

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Kill trigger
« Reply #4 on: 26 Aug 2002, 04:34:58 »
Quote
              Wont naming each unit and setting triggers around the area you dont want them to enter work. Like tell the
               trigger to set the dammage of that unit to like 4(i think that will waste him).

setdammage 1 on a unit let the unit die.

With setdammag 4, the unit won't be more dead than with setdammage 1.
Also the big-bada-boooom effect won't be there  ;)

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

Offline jphilapy

  • Members
  • *
  • I'm a llama!
Re: Kill trigger
« Reply #5 on: 27 May 2006, 07:52:47 »
Hi,

Can anyone tell me if it is possible to carry an anti-personel mine made in this way and then put it where ever you choose?

Jeff