Jump to content
  • 0

Jumpscare


birb.

Question

Hello, I wanted to know how to make the monster touch the player and give a jumpscare

Edited by birb.

Share this post


Link to post

1 answer to this question

Recommended Posts

  • 1

Since I have not seen anyone offer a real possible solution, here is an idea. Note I have not tested this or tried it before, I am guessing only with my knowledge of how these things work.

 

1) Add in some kind of distance check in your monster's chase state, such as https://zdoom.org/wiki/A_JumpIfTargetInsideMeleeRange

 

Tweak the MeleeRange property in your monster to your liking.

 

2) Make it jump to a custom state in which calls https://zdoom.org/wiki/ACS_NamedExecute

 

3) Make it execute a script which does things to the player, such as freezes them in place, do a HudMessage of an image or something, whatever you want.

 

This should be what you need. I can probably make an example WAD in a couple days.

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...