YEP EventChasePlayer - Make the map encounter blind

Discussion in 'Javascript/Plugin Support' started by Acydcross, Oct 23, 2019.

  1. Acydcross

    Acydcross Villager Member

    Messages:
    23
    Likes Received:
    4
    First Language:
    Tagalog
    Primarily Uses:
    RMMV
    Hi! I'm using Yanfly's EventChasePlayer for my mob/enemy map encounter. I put the custom movement route scrip: this._chaseRange = 7 for the event to chase the player when it sees the player.

    My question is:
    How can I make a skill that will make the event(mob) stop seeing the player or the player turns invisible to the event(mob)?
     
    Last edited: Oct 23, 2019
    #1
  2. sura_tc

    sura_tc Loner Veteran

    Messages:
    428
    Likes Received:
    318
    First Language:
    Korean
    Primarily Uses:
    Other
    Connect the skill to a switch.

    Add a page (for the switch) to mobs and set it to random movement?
     
    #2
  3. Acydcross

    Acydcross Villager Member

    Messages:
    23
    Likes Received:
    4
    First Language:
    Tagalog
    Primarily Uses:
    RMMV
    Thanks for the reply.

    I tried making a conditional branch:
    if > Switch is ON
    >> This Event - Move at Random
    Else
    >> Battle Process

    The event(mob) chase the player then randomly move.

    I want it to not chase the player as if it doesn't see the player.
     
    #3
  4. sura_tc

    sura_tc Loner Veteran

    Messages:
    428
    Likes Received:
    318
    First Language:
    Korean
    Primarily Uses:
    Other
    No, on another page. Not the same page.
     
    #4
    Acydcross likes this.
  5. Acydcross

    Acydcross Villager Member

    Messages:
    23
    Likes Received:
    4
    First Language:
    Tagalog
    Primarily Uses:
    RMMV
    Oh I get it. You mean I make a blank page with a switch condition? So every time I use the skill the event will do nothing because its the first page.

    EDIT:
    It works. Sometimes you just have to think out of the box. Thanks for the help, Sura!
     
    #5
    sura_tc likes this.

Share This Page