Creating player restrict but event allow??

● ARCHIVED · READ-ONLY
Started by Icenick 3 posts View original ↗
  1. I can't seem to figure out how to block a player but allow an event.
    What im trying to do is push a boulder into a hole to create a walkway for player.
    I have yanfly region restrict but that is of no help.
    Any ideas?
  2. What you could do is have three events: The hole event, the boulder event and the event that the player steps on just before interacting with the hole event. The player event should check to see if the boulder event is at the coordinates of the hole event when the player steps on it. If the coordinates don't match the hole event stays impassable, if it is a switch changes the hole event to passable.
  3. Uzuki said:
    What you could do is have three events: The hole event, the boulder event and the event that the player steps on just before interacting with the hole event. The player event should check to see if the boulder event is at the coordinates of the hole event when the player steps on it. If the coordinates don't match the hole event stays impassable, if it is a switch changes the hole event to passable.

    Awesome that does the job! In reality the player can just bring the boulder just before the whole and go around the hole but its good enough lol