RPG Maker Forums

Hello

Been posting a lot of requests lately, what can I say? I'm passionate about my project. Let em explain my issue.
The moment I add a Falcao enemy event that is set to approach and attack the player character the game will crash when the PLAYER hits and the enemies. The enemies will loose all of their attacks but will approach but not use them. It seems like it has something to do with a specific line in Falcao's projectile script. This part:    # apply damage to enemy  def apply_damageto_enemy    return if @tool_effect_delay > 0    $game_map.event_enemies.each do |event|      next if event.collapsing?      if event.battler.body_sized > 0        enabled = body_size?([event.x, event.y], @tool_size)        enabled = body_size?([event.x - 1, event.y], @tool_size) if !enabled         enabled = body_size?([event.x, event.y - 1], @tool_size) if !enabled        enabled = body_size?([event.x + 1, event.y], @tool_size) if !enabled        if event.battler.body_sized == 2          enabled = body_size?([event.x-1, event.y-1], @tool_size) if !enabled           enabled = body_size?([event.x, event.y - 2], @tool_size) if !enabled          enabled = body_size?([event.x+1, event.y-1], @tool_size) if !enabled        end      else        enabled = body_size?([event.x, event.y], @tool_size)      end      if enabled and event.just_hitted == 0        event.just_hitted = 20        next if event.page.nil?        if !enable_dame_execution?(event.battler)          unless event.battler.object            RPG::SE.new(Key::GuardSe, 80).play            event.pop_damage('Guard')            play_hit_animation(event)          end          return        end        #-------------------------        execute_damageto_enemy(event)      end    end  endAccording to this is the error:

ErrorWhen.jpg

Any idea how I could make these two scripts compatible?
Falcao.txt

ArcEngine.txt

ErrorWhen.jpg

Latest Threads

Latest Profile Posts

Day 9 of giveaways! 8 prizes today :D
He mad, but he cute :kaopride:

Our latest feature is an interview with... me?!

People4_2 (Capelet off and on) added!

Just beat the last of us 2 last night and starting jedi: fallen order right now, both use unreal engine & when I say i knew 80% of jedi's buttons right away because they were the same buttons as TLOU2 its ridiculous, even the same narrow hallway crawl and barely-made-it jump they do. Unreal Engine is just big budget RPG Maker the way they make games nearly identical at its core lol.

Forum statistics

Threads
106,038
Messages
1,018,467
Members
137,821
Latest member
Capterson
Top