• Our software update is now concluded. You will need to reset your password to log in. In order to do this, you will have to click "Log in" in the top right corner and then "Forgot your password?".
  • Welcome to PokéCommunity! Register now and join one of the best fan communities on the 'net to talk Pokémon and more! We are not affiliated with The Pokémon Company or Nintendo.

[Eventing Question] Requirement of a Pokémon!!

33
Posts
6
Years
Requirement of a Pok?mon!!

I wonder if it is possible to add an event that needs a certain Pok?mon to activate it.

Example: "You need a Tyranitar to move this stone"

or even, be more specific.

Example: "You need a fire-type pokemon to burn this tree"

If it is possible, please help me!
 

Scyl

Extremely Ironic Unironic Edgelord Extraordinaire.
9
Posts
6
Years
For specific Pokemon, just use a conditional branch calling pbHasSpecies?(:X) with X being whatever Pokemon you want to be checked. Essentials has this command used in one of its base maps.

For types, do a conditional branch calling pbHasType?(:x). Once again, x standing for whatever type you want to be checked, in this case, Fire.

pbHasType?(:FIRE)
 
Back
Top