Jump to content
Sign in to follow this  
bn880

BoobyTraps if you want them.

Recommended Posts

This is a boobytrap that your soldier will always spot from a small distance.... approach too close and it blows up in your face.

Works on any side: vehicle or personell.

BTW, the boobytrap can not be seen from a distance (only appears when you almost walk into the trap)

class Sensors

{

items=2.000000;

class Item0

{

position[]={9639.875000,29.834999,3682.414551};

a=9.000000;

b=9.000000;

activationBy="ANY";

age="UNKNOWN";

name="tmine";

expActiv="mine = ""AAA805"" camCreate getPos tmine;";

class Effects

{

voice="Eng29";

};

synchronizations[]={};

};

class Item1

{

position[]={9639.781250,29.834999,3682.444336};

a=4.000000;

b=4.000000;

activationBy="ANY";

age="UNKNOWN";

name="exmine";

expActiv="mine setdammage 1;";

class Effects

{

titleEffect="WHITE IN";

};

synchronizations[]={};

};

};

If you wish to add more than one to your map don't forget to change the variable names mine and tmine to the new names of the copies.

Share this post


Link to post
Share on other sites

HAHA undercream your a dunce.... (joke)

its a flipping sqm file....!!!!

Share this post


Link to post
Share on other sites

Wouldn't that be an .SQS file, as in a script?

Include a text file in the directory of your mission named boobytrap.sqs (or something similar) with the above script as it's contents (copy/paste).

In the "on activation" field of a trigger you can type:

exec "boobytrap.sqs"

That will activate the script and set the boobytrap.

LoL!

Share this post


Link to post
Share on other sites

the difference between scripts and sqm file is that in script files you dont give classes and use brackets like };

};

its obviouse

Share this post


Link to post
Share on other sites

im not going into the full description why. it wastes time...

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×