Chaos Project

RPG Maker => General Discussion => Topic started by: Travis on May 03, 2013, 02:16:13 am

Title: Help!! the corpse is on me! :P
Post by: Travis on May 03, 2013, 02:16:13 am
Hi, i am using blizz abs and everything is awesome. I created a corpse for enemy and tested the game. I shot the enemy and it died. It left a corpse and rest in peace  :P . Everything is still awesome until I walked through the corpse. When i walked through the corpse it's on top of my character. It's on me! Help !  :wacko:

Thanks a lot guys. Your help is greatly appreciated.
Title: Re: Help!! the corpse is on me! :P
Post by: KK20 on May 03, 2013, 03:54:45 pm
I think this is a bug. You aware of this already, winkio?

class Game_Character
  #--------------------------------------------------------------------------
  # * Get Screen Z-Coordinates
  #     height : character height
  #--------------------------------------------------------------------------
  alias not_a_corpse_screen_z screen_z
  def screen_z(height = 0)
    return 0 if @character_name.include?('_crp')
    not_a_corpse_screen_z(height)
  end
end

Stick that in anywhere.
Title: Re: Help!! the corpse is on me! :P
Post by: Travis on May 04, 2013, 12:20:09 pm
wow.. thanks a lot.. You help me a lot! really thank to you.. I must credit you in my project.  :haha: