Jump to content
Sign in to follow this  
mantls

Roadside IED Script

Recommended Posts

Alright mate will goof around with it, and I will post back my findings. Awesome job mate! Very happy with your work.

Works like a charm!

You probably don't want the majority of the code. In terms of pseudo code, you will want to do something like this.

spawn a script. (so it is running in parallel.)

Create a unit at a location (probably pass the location in as a parameter)

Create a trigger at this location and have it's only condition that the enemy player is in the box, IE west

When it is triggered, call my EPD_EXPLOSION when it is triggered.

Then have a loop that every quarter second or so moves the triggers location to the Bombers location.

Exit the loop when the bomb goes off

Share this post


Link to post
Share on other sites

I'm looking to get a portion of your script working with Zues. I want the player to be able to disarm mines and IEDs placed by Zeus as long as they have a toolkit. Anyway someone could give me a hand on how to script that?

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  

×