Charas-Project

  • Home
  • Help
  • Search
  • Calendar
  • Login
  • Register
*
Please login or register.

Login with username, password and session length
 

News:

New forum theme up and running!



  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Enemy Targeting question
« previous next »
  • Print
Pages: [1]

Author Topic: Enemy Targeting question  (Read 2377 times)

Offline Glitch

  • White Phoenix of the Crown
  • Associate
  • *
  • Posts: 262
  • I can be a bit bipolar, when I get mad I tend to do, things
Enemy Targeting question
« 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.
Logged
Photobucket - Video and Image Hosting
Nuf Said.

Offline Flamehawk27

  • Visionary
  • Associate
  • *
  • Posts: 144
Re: Enemy Targeting question
« Reply #1 on: July 23, 2008, 11:25:14 PM »
I've tried that myself and I never solvd it..... :'(
Logged
New Project: Pandora Saga!

Link to the website:http://www.freewebs.com/pandorasaga/

Offline Hirochi-Zangus

  • Super Mystery Solver
  • Zealot
  • *
  • Posts: 520
Re: Enemy Targeting question
« Reply #2 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!
Logged

Offline Rahl

  • Lord Of Gamedwellers
  • Leader
  • *
  • Posts: 2,356
Re: Enemy Targeting question
« Reply #3 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.
Logged



Offline Hirochi-Zangus

  • Super Mystery Solver
  • Zealot
  • *
  • Posts: 520
Re: Enemy Targeting question
« Reply #4 on: July 24, 2008, 01:23:41 AM »
Well, that's the only way I could think of.
Logged

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Enemy Targeting question
 

  • SMF 2.0.10 | SMF © 2015, Simple Machines
  • XHTML
  • 2O11
  • RSS
  • WAP2
  • Simple Machines Forum