Jump to content
Sign in to follow this  
pcpilot

How do I destroy an ammodump...

Recommended Posts

Sounds wierd I know. But Im working on a mission and Id like to make one of the objectives destroying an ammo dump using maybe a time bomb being set. For the ammo dump Ive put several ammo crates under a tent. I have a trigger set as an objective and extra points, etc in the activation section of the trigger dialog. But how can I make the trigger activate? Can I sync it to, say, an ammo box? Or what? Im a bit stumped here...thanks for any help guys. crazy_o.gif

Share this post


Link to post
Share on other sites

You could name the ammo box or boxes and check for their damage level

in the Condition section of a trigger try:

Damage MYAMMOBOX >= 1

where MYAMMOBOX is your chosen name for said ammo box. When the ammo box is destroyed by the bomb the trigger will activate.

Share this post


Link to post
Share on other sites

Thanks for the reply but no, it didnt work. I also tried a destroy waypoint on top of the ammo boxes to no avail. I experimented a little by trying to destroy several different objects including a hut and a crapper. But the trigger didnt go off even though its synced to the destroy waypoint. I can destroy the object of course, but the trigger doesnt activate aknowledging my objective complete and then sending me to the next waypoint.

Share this post


Link to post
Share on other sites

It is supposed to work the way Caxton posted.

Give the desired crate a name, check the damage in a trigger

with "getdammage yourammocratename >= 1"

in onactivation type "conditionwaypoint = true"

and place "conditionwaypoint"

in condition field of your next WP after the destruction of the dump.

Just tested and it also works for crates that are sunk below groundlevel for 1 meter.

Share this post


Link to post
Share on other sites

Sorry I wasn't more indepth, all I told you is how to get the damage status of a particular ammo box.

Balschoiw has shown you what to do with the data.

hope it works for you.

Share this post


Link to post
Share on other sites

Thanks guys, I'll give it a whirl tonight when I have a chance.

Share this post


Link to post
Share on other sites

here you go this will work....

Place two weapon crates and name one ammo1 , name the other ammo2.

create a trigger...in the condition line put this:  

not (alive ammo1) && not (alive ammo2);

In the init line put this:

"1" ObjStatus "DONE";

WERE NOT DONE!!  

Copy and paste the trigger you just created.

in the init line of the trigger you just pasted, delete >>"1" ObjStatus "DONE"...and in it's place in the init line put this...

Player Sidechat "The Ammo dump has been destroyed...";

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  

×