Dagobah Posted September 23, 2020 Share Posted September 23, 2020 hello i want to make that the player can only fish when he is close to the water, how can make some kind of conditional branch to make this work??? Link to comment Share on other sites More sharing options...
0 Ainz Ooal Gown Posted September 24, 2020 Share Posted September 24, 2020 Depends on how you are doing your fishing. If its events then you will have to place a fishing "event" on every water tile you want the player to be able to fish. Copy and paste is your best bet. Dagobah 1 Link to comment Share on other sites More sharing options...
0 Dagobah Posted September 24, 2020 Author Share Posted September 24, 2020 oh, i would like to use it as an common event in an item, in that case i can't puta a condition when the player is close to the water? Â Link to comment Share on other sites More sharing options...
0 Beefy Kasplant Posted September 24, 2020 Share Posted September 24, 2020 2 hours ago, Dagobah said: oh, i would like to use it as an common event in an item, in that case i can't puta a condition when the player is close to the water?   You'd have to put events around the water edge  Item usage conditions: NextToWater = True  Event: Set NextToWater = True  Event2: Set NextToWater = False   WATERTILE | EVENT1 | EVENT2   That's a very messy solution, but it works Dagobah 1 Link to comment Share on other sites More sharing options...
0 AisenArvalis Posted September 24, 2020 Share Posted September 24, 2020 2 hours ago, Dagobah said: oh, i would like to use it as an common event in an item, in that case i can't puta a condition when the player is close to the water? Â Â I do have a makeshift solution for that currently. Make a player variable called "ByWater" make it be a boolean. Make events on the tiles near said water and set it to true when player is on that event. Make a 2nd event on all tiles that are around it and not near water and set it to false in those. Â EDIT: YOU BEAT ME TO IT KAS! Dagobah, Beefy Kasplant and Xiphoid 3 Link to comment Share on other sites More sharing options...
0 Guest Posted September 24, 2020 Share Posted September 24, 2020 Alternatively, you can use event parameters to check the player's X and Y coordinates. Link to comment Share on other sites More sharing options...
0 Scaly Posted September 24, 2020 Share Posted September 24, 2020 You can also go further and set moving water based on a conditional/timed event and the player can only catch fish if the water animation is happening. Dagobah 1 Link to comment Share on other sites More sharing options...
0 Dagobah Posted September 24, 2020 Author Share Posted September 24, 2020 Ok thank you guys for all the answers i'll check which is the easiest path to achieve this haha Link to comment Share on other sites More sharing options...
0 Dagobah Posted September 24, 2020 Author Share Posted September 24, 2020 21 minutes ago, Scaly said: You can also go further and set moving water based on a conditional/timed event and the player can only catch fish if the water animation is happening. i'm interested in this solution but i don't get it well, in the event the condition would be if the animation is happening but that would allow to the player to fish even if he/she isn't beside the water, i'm correct? Â Link to comment Share on other sites More sharing options...
0 Scaly Posted September 25, 2020 Share Posted September 25, 2020 8 hours ago, Dagobah said: i'm interested in this solution but i don't get it well, in the event the condition would be if the animation is happening but that would allow to the player to fish even if he/she isn't beside the water, i'm correct?   No you use the above method that the other two mentioned but add a conditional based on a random number variable. Link to comment Share on other sites More sharing options...
0 Dagobah Posted September 25, 2020 Author Share Posted September 25, 2020 15 hours ago, Scaly said:  No you use the above method that the other two mentioned but add a conditional based on a random number variable.  ohhh ok thank you!  Link to comment Share on other sites More sharing options...
Question
Dagobah
hello i want to make that the player can only fish when he is close to the water, how can make some kind of conditional branch to make this work???
Link to comment
Share on other sites
10 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now