Mewdoom Posted October 10, 2016 Hello guys, it is possible to use MeleeThreshold to make the monster use its missile attack from a minimum range and also use is melee attack if he is under that range ? the monster just try to keep get close to the player instead of use his melee attack, once he is close he use his melee attack .. In fact, I would like to have two missile attack, one for range from 0 to 100 and the second one from, 100+ range. 0 Quote Share this post Link to post
scifista42 Posted October 10, 2016 Mewdoom said:make the monster use its missile attack from a minimum range and also use is melee attack if he is under that range ? the monster just try to keep get close to the player instead of use his melee attack, once he is close he use his melee attack .. This is what monsters already normally do, and the particular range is defined by MeleeRange property. MeleeThreshold isn't needed at all.Mewdoom said:In fact, I would like to have two missile attack, one for range from 0 to 100 and the second one from, 100+ range. Let it have one missile attack, and call A_JumpIfCloser in its first state to branch the attack logic depending on distance. 0 Quote Share this post Link to post
Mewdoom Posted October 10, 2016 It work very well like this, thanks a lot :) 0 Quote Share this post Link to post
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.