Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

pokemon essentials

HHEELPPPZZZ!!!!

so I have been using pokemon essentials for a while :P and what I need to know is.. like when you battle the guy in the cave in the demo he joins you and follows you like a caterpillar script.. what I need is for two people to follow me and only one to battle.. and on cetain ocassions two.. what I tried was using just a simple caterpillar script but it didnt work.. I guess they are no compatible.. please tell me if there is a way to make two characters follow you just like it would in a caterpillar script.. thankyou if you answer...
 

Star

Sponsor

Make two events that have the character graphics that you want to follow you in. Change their speed and frequency to 4

Lets say the first event was event ID 001 and the second was ID 002

You make another event and place it on the same map as a parallel process

You then make 6 variables.
"Your Character"'s X is = Players Map X
"Your Character"'s Y is = Players Map Y
"First Follower" X is = Event ID 001's Map X
"First Follower" Y is = Event ID 001's Map Y
"Second Follower" X is = Event ID 002's Map X
"Second Follower" Y is = Event ID 002's Map Y

Then on that same page. You made Conditional branches.

Conditional Branch
If Your Characters X is Greater than First Followers X
Set Move Route Event 001 Move Right
else
If your characters X is less than First Followers X
Set Move Route Event 001 Move Left
Conditional Branch
If Your Characters Y is Greater than First Followers Y
Set Move Route Event 001 Move Down
else
If your characters Y is less than First Followers Y
Set Move Route Event 001 Move Up

Conditional Branch
If Your Characters X is Greater than Second Followers X
Set Move Route Event 002 Move Right
else
If your characters X is less than Second Followers X
Set Move Route Event 002 Move Left
Conditional Branch
If Your Characters Y is Greater than Second Followers Y
Set Move Route Event 002 Move Down
else
If your characters Y is less than Second Followers Y
Set Move Route Event 002 Move Up


DEMO ========
http://files.filefront.com/XAS+Ally+Sys ... einfo.html
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top