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 »
  • Shooting ABS help
« previous next »
  • Print
Pages: [1]

Author Topic: Shooting ABS help  (Read 1852 times)

Offline maximumcarnage

  • King of Fangs!
  • Initiate
  • *
  • Posts: 83
Shooting ABS help
« on: November 04, 2007, 09:06:41 AM »
I perfected the Shooting system but the ABS....
darn.I used the same variables for different enemies the first map with enemies worked!But the second map with same variables but different enemies...i shoot one of them and they all died.WHY?!But it works when the second map is my starting point but the first map happens the smae?!Should i use different variables?
Logged
Arrgh!!!I wanna kill spidey!!!

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #1 on: November 05, 2007, 02:51:48 AM »
Im guessing it happens because you test to see if an enemy is dead after you shoot. Since all the variables for their life is 0 from the previous map, they'll all die when you check their life.

You can use the same variables; however, you need to reset them all back to their default value when you move to the next map.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

Offline Melch

  • Member
  • Initiate
  • *
  • Posts: 23
(No subject)
« Reply #2 on: November 05, 2007, 03:17:48 AM »
yeah, just make a single auto event that turns all your switches back off so that all mobs are alive again. Then make sure that event only happens when you first enter the map.
Logged

Offline maximumcarnage

  • King of Fangs!
  • Initiate
  • *
  • Posts: 83
(No subject)
« Reply #3 on: November 05, 2007, 06:55:46 AM »
Quote
Originally posted by Melch
yeah, just make a single auto event that turns all your switches back off so that all mobs are alive again. Then make sure that event only happens when you first enter the map.


Wait....how the heck do i do that?
Logged
Arrgh!!!I wanna kill spidey!!!

Offline DragonBlaze

  • A Wild DB Appeared!
  • Royal
  • *
  • Posts: 3,329
(No subject)
« Reply #4 on: November 05, 2007, 12:16:25 PM »
Make an autostart event. In that event, put a bunch of switch operations like
[monster1 dead] OFF
[Use magic] OFF
[random switch] OFF

Basically turn every switch you used in your battle system back to its original value.

You'll want to do the same for the variables.

Once you set everything back to its default possition, use the 'erase' event command. THe event will be erased, but it will restart again once you leave the map and come back.

If you want to have it so that once you kill a monster, it stays dead forever (like when you come on the map again, it won't be there anymore), then make a seperate switch for every monster, and when you kill the monster, turn the switch on. In the event for that monster, make another page for if that switch is on, that monster never apears or anything. Depending on how your system is set up, you may have to put coditional branches in more places to keep these monsters dead.
Logged
Hell Yeah! Just recovered all my old rm2k/3 games from my 10 year old, broken laptop hard drive that had been formatted and had a new OS installed on it. Oh, and I did all of this from my phone. WIN

  • Print
Pages: [1]
« previous next »
  • Charas-Project »
  • Game Creation »
  • Requests »
  • RPG Maker Programming »
  • Shooting ABS help
 

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