QuoteWith 1. i think would be fairly easy to do, would just have to find which part does the respawning, but be harder if wanted all to have different spawning animations. Unless you meant all the same?
Well, I think I probably could do that, as I've added in other small tweaks specific to my game. To add something in that makes it possible to give every monster a different animation, I could probably add something like "def self.respawn"Enemies Module in PART 1 of the script. Here's something that I added for Weapons:
def self.ammo(id)
case id
when 21 then return 5
when 22 then return 4
when 23 then return 3
end
return 1
end
I'm making a modern day RPG, and that made it possible to subtract different "ammo" values to different guns. For example, if you were to shoot an M-16, it would subtract 3 rounds instead of only 1. I know that this probably could have been accomplished with events, but I wanted a script based solution
. I may tweak this a bit further in the future, when I learn more about Ruby :S.
I'm an experienced programmer, but have NO prior experience with ruby. That's why I posted that question, I was hoping that there would be a way already programmed into the system... If I work on this later and come up with a solution I'll post the code.