Charas-Project

Game Creation => Requests => RPG Maker Programming => Topic started by: Glitch on July 23, 2008, 08:31:12 PM

Title: Enemy Targeting question
Post by: Glitch on July 23, 2008, 08:31:12 PM
Hey, quick question, during a standard battle system battle, how would I go about making it so that certain enemies can only be targeted by certain weapons?

For instance, should I want to have an enemy on a bridge, or a flying enemy, how would I make it so that only my archers/distance fighters and mages can target him?

Basically I just need it so that people with swords or melee weapons can't hit far away or flying enemies. Thanks.
Title: Re: Enemy Targeting question
Post by: Flamehawk27 on July 23, 2008, 11:25:14 PM
I've tried that myself and I never solvd it..... :'(
Title: Re: Enemy Targeting question
Post by: Hirochi-Zangus on July 24, 2008, 12:32:51 AM
I found that the only way to do it is to have two attributes (melee and Ranged) and make flying enemies E on melee and make the E % 0. That way flying enemies are not damaged by melee weapons but still get hurt by ranged!
Title: Re: Enemy Targeting question
Post by: Rahl on July 24, 2008, 12:50:59 AM
yeah but the melee still attack them even though they do no damage. More like invinsible than unreachable.
Title: Re: Enemy Targeting question
Post by: Hirochi-Zangus on July 24, 2008, 01:23:41 AM
Well, that's the only way I could think of.