Help!! the corpse is on me! :P

Started by Travis, May 03, 2013, 02:16:13 am

Previous topic - Next topic

Travis

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.

KK20

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.

Other Projects
RPG Maker XP Ace  Upgrade RMXP to RMVXA performance!
XPA Tilemap  Tilemap rewrite with many features, including custom resolution!

Nintendo Switch Friend Code: 8310-1917-5318
Discord: KK20 Tyler#8901

Join the CP Discord Server!

Travis

wow.. thanks a lot.. You help me a lot! really thank to you.. I must credit you in my project.  :haha: