question about events

Started by Kathis, February 29, 2008, 02:30:48 am

Previous topic - Next topic

Kathis

(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?
Kathis attention span for game making is based on a meter depending on his mood changes how far he'll go with the project,
Right now 25%,
Currently working on Random game version 3 on rpg maker xp. current status...2% compleat,

Nortos

sure just on the event page in bottom left corner click on through

Kathis

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 -_-
Kathis attention span for game making is based on a meter depending on his mood changes how far he'll go with the project,
Right now 25%,
Currently working on Random game version 3 on rpg maker xp. current status...2% compleat,

Nortos

February 29, 2008, 03:41:44 am #3 Last Edit: February 29, 2008, 03:46:46 am by Nortos
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

Kathis

I am having problems following numbers, can you explain this methoid more clear if possible.
Kathis attention span for game making is based on a meter depending on his mood changes how far he'll go with the project,
Right now 25%,
Currently working on Random game version 3 on rpg maker xp. current status...2% compleat,

nerissya

YEah i couldn't understand anything either... =)


Click here to feed me a Rare Candy!



I demand you to level up my pokemon. :<

Nortos

February 29, 2008, 08:52:59 pm #6 Last Edit: February 29, 2008, 08:56:22 pm by Nortos
I'll make a demo one sec

EDIT:
http://www.sendspace.com/file/q4ac0d

Fantasist

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.
Do you like ambient/electronic music? Then you should promote a talented artist! Help out here. (I'm serious. Just listen to his work at least!)


The best of freeware reviews: Gizmo's Freeware Reviews




Nortos

yeah I couldn't really find anything

darklight

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!

The demo release has been pushed back. In the meantime, you can check out my resources thread.
I'm also working on the project site - stay tuned for a launch very soon!