Events seeing behind walls

Discussion in 'RPG Maker MV' started by TheFe91, Oct 16, 2017.

  1. TheFe91

    TheFe91 Villager Member

    Messages:
    8
    Likes Received:
    0
    Location:
    Cologno Monzese (MI) - Italy
    First Language:
    Italian
    Primarily Uses:
    RMMV
    Hi everyone!
    I have an event that triggers when it sees my player (= when the event is facing the player).

    I am using the "Facing_Towards_Player_Conditional" plugin.

    This works pretty well, but the problem is that the event triggers even if there is a wall between the event and the player.

    Does anybody know how to solve this?

    Thank you very much!
     
    #1
  2. Ihavenoskin

    Ihavenoskin Veteran Veteran

    Messages:
    87
    Likes Received:
    69
    First Language:
    English
    Primarily Uses:
    RMMV
    Hello

    I use Yanfly event chase player, event chase stealth and region restrictions plugins.

    These 3 combined mean you literally have all you need as you can control what regions events can spot you in, and at what distance etc.

    Hope this helps :)
     
    #2
  3. TheFe91

    TheFe91 Villager Member

    Messages:
    8
    Likes Received:
    0
    Location:
    Cologno Monzese (MI) - Italy
    First Language:
    Italian
    Primarily Uses:
    RMMV
    Hi! I have those 2 plugins too...may you please explain me how to make this thing work using those plugins? Thank You!! :)
     
    #3
  4. Ihavenoskin

    Ihavenoskin Veteran Veteran

    Messages:
    87
    Likes Received:
    69
    First Language:
    English
    Primarily Uses:
    RMMV
    Yeah sure... I hope. What I imagined is set the stealth region on the stealth plugin; the paint the region the other side of the wall and anywhere you don't want the particular event to notice you.

    On the Event Notes at the top input <Follower Trigger>

    On the event you can set the movement route to custom and use the plug in script call
    this._chaseRange = X (change X to a number)
    this._returnAfter = true (to return the event to original location)

    This will be the range to chase you and then the region will prevent the spotting through the wall.
     
    Last edited: Oct 16, 2017
    #4

Share This Page