sixtyandaquarter
Member
Hey peoples, how are you doing today?
This is an XP request, this time
I seem to be doing a few more public requests than I usually do (there's 3 this year D. And I hope I don't lose anyone who might've been interested in filling this one out, had they been able to make out what I had been intending to request heh.
I searched but I could not find this, though I could have sword it had existed? I could have sworn a version of what I'm about to request had been done, at least in part.
I'm looking for a script that would I believe ideally be used in a conditional branch event command. I'm not sure, but I believe that's where it would go best. Basically if player or other event on the map is within x amount of tiles from another event, or set location (a specific tile such as 14x16 - which would be 14 tiles across, 16 down), the condition is met.
Basically two examples that might help understand what I mean:
1) There is a map filled with trees and an NPC who walks around randomly. When not within range of any of the trees, talking to him would have a basic dialogue box of "Wonderful weather, no?" or some crap. But when within range of the trees (set by tile - or if that's not it, an event on the tree itself) he responds with something based on the tree. A large tree with apples, he's within 4 tiles he'll say "Wonderful apples, I think I'll pick some later." and he moves 6 tiles over, he's within 4 tiles of a dead tree "Pity, we'll have to cut this tree down soon.", and he moves over more and is now within 6 tiles of a very tall tree "I met my first love under this tree." etc.
2) There is an event that follows the player around on another map, however when this event goes near certain food stands, a conditional branch sets off the move route and it moves towards these food stands. When spoken to, the dialogue is about the exact food stands, instead of the usual. All that can be done in the events normally, naturally. When the player goes X amount of tiles away from the event that follows him/her around, a another conditional branch sets a new move route to catch up to the player. Etc.
Think of like a caterpillar script, only party members won't be right up the player's ass the entire time, and will window shop and such.
3) There are 4 events on a map. And when any of them get close to each other, they stop and do a little dance by turning in circles 5 times and then walk away from each other. When any of them come within 3 tiles of each other, that's what they do, and won't do that normally. They move around randomly and the hero can push them.
See, I know all the above can be done in events. It's just very tedious and sometimes causes a strange lag when trying to do so many parallel processes and variable checks, etc in this way. Feel up to it? Any questions?
Thanks, either way, and have a good day :thumb:
This is an XP request, this time
I seem to be doing a few more public requests than I usually do (there's 3 this year D. And I hope I don't lose anyone who might've been interested in filling this one out, had they been able to make out what I had been intending to request heh.
I searched but I could not find this, though I could have sword it had existed? I could have sworn a version of what I'm about to request had been done, at least in part.
I'm looking for a script that would I believe ideally be used in a conditional branch event command. I'm not sure, but I believe that's where it would go best. Basically if player or other event on the map is within x amount of tiles from another event, or set location (a specific tile such as 14x16 - which would be 14 tiles across, 16 down), the condition is met.
Basically two examples that might help understand what I mean:
1) There is a map filled with trees and an NPC who walks around randomly. When not within range of any of the trees, talking to him would have a basic dialogue box of "Wonderful weather, no?" or some crap. But when within range of the trees (set by tile - or if that's not it, an event on the tree itself) he responds with something based on the tree. A large tree with apples, he's within 4 tiles he'll say "Wonderful apples, I think I'll pick some later." and he moves 6 tiles over, he's within 4 tiles of a dead tree "Pity, we'll have to cut this tree down soon.", and he moves over more and is now within 6 tiles of a very tall tree "I met my first love under this tree." etc.
2) There is an event that follows the player around on another map, however when this event goes near certain food stands, a conditional branch sets off the move route and it moves towards these food stands. When spoken to, the dialogue is about the exact food stands, instead of the usual. All that can be done in the events normally, naturally. When the player goes X amount of tiles away from the event that follows him/her around, a another conditional branch sets a new move route to catch up to the player. Etc.
Think of like a caterpillar script, only party members won't be right up the player's ass the entire time, and will window shop and such.
3) There are 4 events on a map. And when any of them get close to each other, they stop and do a little dance by turning in circles 5 times and then walk away from each other. When any of them come within 3 tiles of each other, that's what they do, and won't do that normally. They move around randomly and the hero can push them.
See, I know all the above can be done in events. It's just very tedious and sometimes causes a strange lag when trying to do so many parallel processes and variable checks, etc in this way. Feel up to it? Any questions?
Thanks, either way, and have a good day :thumb: