Leveling up into a common event?

● ARCHIVED · READ-ONLY
Started by forgottenlor 3 posts View original ↗
  1. Is it possible to call a common event when a particular actor levels up?

    I searched through the forum and found nothing which fits what I want to do. There are some scripts like skill trees which

    are much more complicated than what I want.

    I want my main character to be able to choose between skills when leveling up. I thought the easiest way to do with

    would be through calling up a simple common event. I know that I can do this very unelegantly by adding a level up!
    skill, but I figure a script could do this much better. I'd be very grateful if anyone could point me in the right direction.
  2. Here you go:

    Code:
    # )--------------------------(# )--  Author: Mr. Trivel  --(# )--------------------------( module CommonEventDude  ACTOR_ID = 9  COMMON_EVENT_ID = 1end class Game_Actor < Game_Battler    alias mrts_level_up level_up  def level_up    mrts_level_up    $game_temp.reserve_common_event(CommonEventDude::COMMON_EVENT_ID) if id == CommonEventDude::ACTOR_ID  endend
  3. Thanks alot. Everything works perfectly. That's just what I was hoping for.