• Do not use Discord to host any images you post, these links expire quickly! You can learn how to add images to your posts here.
  • Apologies if you've had troubles connecting to the site, you may need a VPN to access it. Staff are also facing issues connecting, so if it's urgent please message Cat on-site or through Discord directly.
  • Hey Guest, staff applications are open! If you are interested in becoming a forum staff member and/or Discord staff member, please apply through this Google Form before April 2! You can also message Cat with any questions.
Resource icon

v21.1 Movement Restrictions 1.0

This resource pertains to version 21.1 of Pokémon Essentials.
Pokémon Essentials Version
Non-applicable
Couple of fun features from Pokémon Uakitite people might enjoy:
  • Restrict which ways someone can move (for example, force them to go up).
    • pbRestrictMovement is a function for quick setup with the release parameter affecting whether this restricts or releases restrictions on movement in certain ways. For example, pbRestrictMovement("vertical",true) allows the player to move up and down if they weren't able to before.
    • You can also just set the game switches linked with each direction if needed. If you just want downwards movement restricted, you just set that game switch on.
  • Restrict scrolling (perhaps you have a panorama that extends horizontally but not vertically and you don't want to break the illusion).
    • VERTICAL_SCROLL and HORIZONTAL_SCROLL are just game switches, so no function linked to them. Important to note that these switches restrict scrolling TO that option, so VERTICAL_SCROLL will actually restrict horizontal scrolling and having both on restricts all scrolling in case you want to keep the camera on a certain part of the map.
    • Be careful! The player can still walk in the direction even if the scrolling is off, so the player can walk out of the screen. This can be useful for fun features like a hallway that loops one way (could make for some interesting puzzles), but generally it's a good idea to make it impossible to walk off screen.
  • Forced direction terrain tags (most useful for emulating chairs).
    • All you need to do here is set the tiles you wish to force the player direction-wise to their respective terrain tag (of which you can modify in Directional Terrain Tags).

There's no specific version for this though I'm not certain if the modified functions were different in earlier versions. It should work in most newer versions (I know it works in v21.1).
Credits
Atlat
Author
Atlat
Downloads
95
Views
678
First release
Last update

Ratings

0.00 star(s) 0 ratings

More resources from Atlat

Back
Top