Jump to content
Sign in to follow this  
GunnDawg09

Check out my VBIED I made :)

Recommended Posts

Sorry for the lack of sound, couldnt get FRAPS to capture it. Pay close attention to the car parked on the side of the runway as the HMMWV drives by.

Share this post


Link to post
Share on other sites

hmmm I cant seem to sync a trigger to a unit. I was going to have the bomb trigger synced to a moving civilian car and have it drive into a USMC check point and blow up...but you cant seem to do that :(

Share this post


Link to post
Share on other sites

You wouldn't sync it but group it. This has been done many times before by mission makers.

Share this post


Link to post
Share on other sites

yeah I just tried grouping it, but then it seems like you only have the option to make it blow up when a group member, whole group, or group leader are within the triggers range... I want it to still be activated when BLUFOR is present so I can make the civilian run up to a HMMWV (making BLUFOR present) and making it blow up.

Kinda defeats the purpose if you have to make the civilian blow him self up by running into the targer area of the trigger....

Share this post


Link to post
Share on other sites

I think this is what you need http://www.sendspace.com/file/a9vfdx

It uses two triggers so both conditions need to be met for the bomb to go off, the CIV needs to be in one area and the vehicle in the other. If either condition aren't true the bomb fails to go off.

I also used a bit of velocity with the bomb to get it off the ground a bit.

You can get some good effects with smaller explosive, ie just force the men out and then cut them down in a hail of bullets.

Share this post


Link to post
Share on other sites

hm yeah thats cool and all, but I want it so if a civilian walks right up to a hmmwv it detonates a bomb on the location of the civilian.

In this example you have to stand in a certain location in order to trigger the bomb..

Share this post


Link to post
Share on other sites
? _unit distance _vehicle < 10 : boomshakalak

Could you be more specific? where does this code go? which triggers do I need ? what does it need to be grouped to, etc..

Share this post


Link to post
Share on other sites
why not something like this ?

http://www.arma2.com/comref/full.html#ObjecttriggerAttachVehicleArray

init of the car:

yourtrigger triggerAttachVehicle [this]

And a simple blue-present condition.

Except it doesn't work like that, check my other post for a working solution provided by Sickboy.

http://forums.bistudio.com/showthread.php?p=1356715#post1356715

The size of the trigger attached will determine how close both units are before "BOOM"

Junkers fix will work and I've used it in the past but I carn't get the syntax right in the trigger.

Share this post


Link to post
Share on other sites

Hmm, I'll have to test that when I get home.

Anyhow, another simple solution would be this:

_obj = _this select 0;
while (alive _obj) do {
if ((_obj findNearestEnemy getPos _obj) distance _obj < 10) then {
	_bomb = "Bo_FAB_250" createvehicle getPos _obj;
};
sleep 1;
};

It requires the car to be hostile though.

^^ countless ways to do this

Share this post


Link to post
Share on other sites
Hmm, I'll have to test that when I get home.

Anyhow, another simple solution would be this:

_obj = _this select 0;
while (alive _obj) do {
if ((_obj findNearestEnemy getPos _obj) distance _obj < 10) then {
	_bomb = "Bo_FAB_250" createvehicle getPos _obj;
};
sleep 1;
};

It requires the car to be hostile though.

^^ numerous ways to do this

Damn Tajin you are a scripting beast! It's good to have you around. I've learned a ton from your posts.

Share this post


Link to post
Share on other sites
Damn Tajin you are a scripting beast!

No, actually I'm just lazy. I don't like writing long code. :rolleyes:

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  

×