(was told it was fine to post this here)
I was wondering if anyone has ever figured out a way to make an event do something when it is overlaping another events
say a cat is following you, and you lead it to a certain point like a village, the owner will go, "Fluffy you brought my kitty home thank you so much" and give you something for your troubles.
I am aware of the follow hero. but what if the cat is slow? I don't want it so you just have to action key the cat then talk to the girl, no I want the cat to cross a line of events
so my question is, is this possible? I am sure it is but how does one do this?
sure just on the event page in bottom left corner click on through
not what I ment.... I don't want the event to be "phasable" I want the event to change a self switch or change something, when it hits another event, like crosses walks over it... something... I know the hero can do this, I want to know if an event can do this.
for example, what if you were racing something.. and it won...how would it know that it crossed the finishing line? without using varibles. such as move +1 or wait or timer I need it to be a random cross for example. of if the npc said, take this monster and lead him to the lake. well I don't want the event to trigger untill that monster is close to the lake rather than stuck due to a rock being in the path to you. ( and I don't want it to be phasable like a ghost -_-
hmm not too sure there is of course the
($game_map.events[5] - $game_map.events[29].x <= -1)
and use a conditational branch with this in the script. This would occur if the 5 is like less than 1 space away from 29 and than do stuff like this
($game_map.events[2].x - $game_map.events[1].x <= -1) && ($game_map.events[2].x - $game_map.events[1].x >= -5) && ($game_map.events[2].y - $game_map.events[1].y >= -1) && ($game_map.events[2].y - $game_map.events[1].y <= 1)
which would mean the event would only occure when the other event is within the stated x and y's of the 2nd event oh and make sure it's parallel proccess
I am having problems following numbers, can you explain this methoid more clear if possible.
YEah i couldn't understand anything either... =)
I'll make a demo one sec
EDIT:
http://www.sendspace.com/file/q4ac0d (http://www.sendspace.com/file/q4ac0d)
Or, if you need the (two) events to absolutely overlap:
$game_map.events[5].x == $game_map.events[29].x #checks for x
$game_map.events[5].y == $game_map.events[29].x #checks for y
This is all fine, but I get the feeling this can be done with events alone... I may be wrong. I checked the event commands just now, and I didn't find anything. I could be wrong.
yeah I couldn't really find anything
Hmm, I would use 'event touch' as the trigger.
This is how I would do the cat example, in simplified terms:
- Player finds/runs into cat, who follows player
- Player crosses a bottleneck that forces him/her to activate a switch named "Cat Found"
- Player talks to the owner, who says "Oh you found my kitty"
- Cat has a move route that brings it to the owner; this move route is activated once "Cat Found" is turned on
Anyway, I dunno if that made sense :/ But good luck!