Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
Rob

flare traps

Recommended Posts

i downloaded one of the apparent famous flare traps and this was in the readme file.

Flare Trap Simulator

by Fishion (mailto:[email protected])

Here is a script to simulate a flare trap that actually uses a real flare (as opposed to a couple of fires).

This works be teleporting a dude in to fire a flare, and then removing him. This process takes only 0.05 seconds.

For this script to work you need an officer with night equipment (actually any infantry guy should do).

Paramters:

the offers name

the flare-colour you want to fire, allowed values are "flare" (white) "flarered", "Flaregreen" "flareyellow"

the height the flare should appear (meters above the ground)

the X-Coords where the flare should appear

the Y-Coords where the flare should appear

X-Coord of a safe spot for the officer (where he does not !!!! die)

Y-Coord of a safe spot for the officer (where he does not !!!! die)

the name of a game logic unit which will be used to determine if the script is currently running (only needed when the trigger is set on "repeatedly")

As an example:

[officer1,"flare",5,getpos barrel1 select 0,getpos barrel1 select 1, getpos outofway select 0,getpos outofway select 1,outofway] exec "flare.sqs"

its supposed to explain how to use it but im, a, a, a, a uhuhuh bit confused. im a bit slow today......

and RED for some reason yahoo is having troubles again so i can't download the file yet...

wot was it?

Share this post


Link to post
Share on other sites

errr the file was the first cutseen it still needs alot of work but i got the frame work in.

and what don't u understand about that script ?

by the looks of it all u need to do is :

where it says this : put all of this in a trigger

[officer1,"flare",5,getpos barrel1 select 0,getpos barrel1 select 1, getpos outofway select 0,getpos outofway select 1,outofway] exec "flare.sqs"

then put the script file in the mission directory and create 1 unit and 2 barrels call the unit officer1 (it probily will have ot be a officer) and just make 2 barrels and call them : outofway and barrel 1 and just place them where u want it to happen ie. barrel 1 wil be where he shoots the flare and outofway will be where he is safe

well i hope that is right smile.gif

RED

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  

×