Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
  • 0
Mengo

Proximity mines?

Question

I've been trying to make a proximity mine launcher, and i want the shots to ignore the player and only explode when enemies cross the range threshold, anyone know how to do this without using A_Checkproximity to check for every possible enemy in the mod?

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 0

You could try this:

Give the player a dummy inventory item, (like "iamtheplayerdontblowmeup") 

And have the mine check if the player is nearby using a_jumpifinventory? 

 

Should work, but I've been having a lot of trouble with give and take inventory lately, so I can't tell you for sure 😒

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×