• Just a reminder that providing specifics on, sharing links to, or naming websites where ROMs can be accessed is against the rules. If your post has any of this information it will be removed.
  • Ever thought it'd be cool to have your art, writing, or challenge runs featured on PokéCommunity? Click here for info - we'd love to spotlight your work!
  • Our weekly protagonist poll is now up! Vote for your favorite Conquest protagonist in the poll by clicking here.
  • 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] How to make an event only trigger when approach from behind / event looking the other way?

  • 64
    Posts
    4
    Years
    • Seen Feb 3, 2024
    Hey all,

    I have an overworld Pokemon event, a Jigglypuff.

    I want to make it so Jigglypuff puts you to sleep if you engage it from the front or side, but will trigger a battle if you approach it from behind.
    '
    I attempted as such but it does not work, I also tried moving the player conditional branch before the "else" locations but still no luck, any thoughts?

    [PokeCommunity.com] How to make an event only trigger when approach from behind / event looking the other way?

    it follows on for each facing direction (left, right, up, down)

    Thanks in advance :)
     
    Hey all,

    I have an overworld Pokemon event, a Jigglypuff.

    I want to make it so Jigglypuff puts you to sleep if you engage it from the front or side, but will trigger a battle if you approach it from behind.
    '
    I attempted as such but it does not work, I also tried moving the player conditional branch before the "else" locations but still no luck, any thoughts?

    [PokeCommunity.com] How to make an event only trigger when approach from behind / event looking the other way?

    it follows on for each facing direction (left, right, up, down)

    Thanks in advance :)

    The solution is simple your are not check the player upfront jiggly puff, instead of trainer you checked for jiggly puff .., so change like this

    Change code to -
    Conditional Branch : Player is facing Down or Any side you want.
    [PokeCommunity.com] How to make an event only trigger when approach from behind / event looking the other way?
     
    Last edited:
    but if I only check the player facing we are not checking to see if we are engaging the Pokemon from behind right? unless im being super dumb. The check needs to be to see that both events are facing the same way, (the event pokemion moves around the map randomly) given its an action engaged event, I can only be facing the same way as the event to essentially be engaging it from behind.
     
    but if I only check the player facing we are not checking to see if we are engaging the Pokemon from behind right? unless im being super dumb. The check needs to be to see that both events are facing the same way, (the event pokemion moves around the map randomly) given its an action engaged event, I can only be facing the same way as the event to essentially be engaging it from behind.

    I see so the jiggly puff moves around? If we only aprroch that from back then it will battle?
     
    correct I only want it so if i hit enter from its behind it will work. basically like creeping up on it so its not aware is what im trying to replicate, while it is not looking
     
    correct I only want it so if i hit enter from its behind it will work. basically like creeping up on it so its not aware is what im trying to replicate, while it is not looking

    Here I will give you complete code
    First create empty events and place around jiggly puff event like this:
    [PokeCommunity.com] How to make an event only trigger when approach from behind / event looking the other way?


    Jiggly puff moves around:
    [PokeCommunity.com] How to make an event only trigger when approach from behind / event looking the other way?


    And jiggly puff Ow:
    Paste in Character folder
    [PokeCommunity.com] How to make an event only trigger when approach from behind / event looking the other way?

    I get this from Following Pokemon Ex Please credit the artist

    Link:
    (broken link removed)

    Code:
    [PokeCommunity.com] How to make an event only trigger when approach from behind / event looking the other way?


    That's all it will work 100% check it out, happy coding :)
     
    what are the empty events doing? and why only player facing down? what if I interact with jigglypuff while facing down and jiggflypuff is facing up. i.e looking right at each other, we dont want to trigger a battle as he will be looking right at me, thanks for trying so fat though!
     
    what are the empty events doing? and why only player facing down? what if I interact with jigglypuff while facing down and jiggflypuff is facing up. i.e looking right at each other, we dont want to trigger a battle as he will be looking right at me, thanks for trying so fat though!

    - Empty events for the jiggly puff won't go faraway , so the jiggly puff moves around in the box

    - Player facing down because you want to battle with jiggly puff only when aprroch from backside that's why i'm using Player down

    - Jiggly puff event doesn't matter we will check the player only, the event will trigger only when the player turn down or else we can use extra Conditional branch for Jiggly puff also

    - Yeah no problem.

    If you want jiggly puff only battle when turns down then add Extra Condional branch inside a Player Conditional branch

    Add inside of Player is facing down
    - Conditional Branch : Jiggly is facing down
     
    so thats the same as what I was trying in my first image,

    I have found the core issue, the script that starts the battle turns the event always to the player, meaning the conditional checks are not met, as the event and player are now facing each other and your not behind the event now

    I have tried to use a move route to set fixed direction to on as the first entry in the event sequence, this only triggers AFTER the event turns to the player for some reason still, so does not work :(
     
    so thats the same as what I was trying in my first image,

    I have found the core issue, the script that starts the battle turns the event always to the player, meaning the conditional checks are not met, as the event and player are now facing each other and your not behind the event now

    I have tried to use a move route to set fixed direction to on as the first entry in the event sequence, this only triggers AFTER the event turns to the player for some reason still, so does not work :(

    Alright contact me in discord karthi#0653
     
    Back
    Top