Home   Help Search Login Register  

Author Topic: How to do mine fields  (Read 694 times)

0 Members and 1 Guest are viewing this topic.

McHale

  • Guest
How to do mine fields
« on: 16 Aug 2004, 11:17:54 »
Create a trigger, set its radius to 1 or 2 metres, set activation to "anybody", "present"

Put this in code in the activation field:

MinePos = getpos (thislist select 0); explosion = "AA" camCreate [(MinePos select 0),(MinePos select 1), (-7.8 + (random 1.5))]

This creates an explosion(with crater) that will either kill or wound a soldier who goes near. Also damages other vehicles.

You can copy and paste the triggers to cover the whole island with mines if you want. There is no limit to the number you can place, I think, and there is very little lag when you place hundreds of mines. Try it!
« Last Edit: 16 Aug 2004, 12:07:18 by McHale »

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:How to do mine fields
« Reply #1 on: 16 Aug 2004, 12:14:11 »
Add to FAQ m8.

:beat: *Gets Shot* :beat:

Offline KTottE

  • Former Staff
  • ****
Re:How to do mine fields
« Reply #2 on: 16 Aug 2004, 12:27:43 »
Yes, like Armstrong said, add this to the FAQ/Knowledgebase instead.
But make sure it doesn't already exist there.
"Life is not a journey to the grave with the intention of arriving safely in a pretty and well preserved body, but rather to skid in broadside, thoroughly used up, totally worn out, and loudly proclaiming 'WOW What a Ride!'"