MaxTargetRange with two ranges

Archive of the old editing forum
Forum rules
Before asking on how to use a ZDoom feature, read the ZDoom wiki first. This forum is archived - please use this set of forums to ask new questions.
Locked
User avatar
Melvinflynt
Posts: 184
Joined: Wed Aug 29, 2007 4:47 pm
Location: Texas

MaxTargetRange with two ranges

Post by Melvinflynt »

Ok Ive been doing some research but have gotten nowhere. I have a decorate character which I want to have two projectile attacks with different ranges. Missile attack 1 is just normal projectile like an imp. Missile attack 2 I want to be at a closer range. So I see "MaxTargetRange" but I believe that would apply to both missile attacks. Can anyone point me in the right direction? :)
User avatar
Ethril
Posts: 2677
Joined: Sun Nov 16, 2008 2:59 am
Location: with you in the dark

Re: MaxTargetRange with two ranges

Post by Ethril »

[wiki]A_JumpIfCloser[/wiki]?
User avatar
Melvinflynt
Posts: 184
Joined: Wed Aug 29, 2007 4:47 pm
Location: Texas

Re: MaxTargetRange with two ranges

Post by Melvinflynt »

Yes that worked! Thank you! This is what I ended up with in the end
Spoiler:
Locked

Return to “Editing (Archive)”