Jump to content
  • 0

Proximity mines?


Mengo

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 😒

Edited by Hitscanning_scumbag
Best of luck to ya!

Share this post


Link to post

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...