The RPG Maker Resource Kit

Other Game Creation => Game Creation General Chat => Topic started by: Pokey on February 07, 2011, 06:14:41 AM

Title: eventing/mapping problem
Post by: Pokey on February 07, 2011, 06:14:41 AM
Guys i have an item on the table
when he click it the player should obtain a coffee
but it's not working
it'll only work if i stand on the table
using the CTRL key
what should i do?
it seems to be working if i stand on the other side,
but my table is placed against the wall
should i place an event where the player is standing with an if player facing up sort of
condition or is there an easier way?
Screenie attached
[spoiler](https://rmrk.net/proxy.php?request=http%3A%2F%2Fimg204.imageshack.us%2Fimg204%2F8301%2Fmappingprob.png&hash=24635ffb61e2a704c3d66a1ed4e9823bc1626839)
[/spoiler]
Title: Re: eventing/mapping problem
Post by: madriel222 on February 07, 2011, 06:19:45 AM
Easiest way to pull this off is by the method that you already mentioned. Put an event directly below the coffee cup that is same layer as hero. Make the branch that checks for sprite facing, and act on key press accordingly.
Title: Re: eventing/mapping problem
Post by: Pokey on February 07, 2011, 06:24:34 AM
*sigh*
I also tried counter flag but it didn't seem to work
anyway thanks
Title: Re: eventing/mapping problem
Post by: pacdiggity on February 07, 2011, 06:36:04 AM
Make the event 'Same as Characters' in priority. If that doesn't work then make an event below the coffee cup that reads:
@>Conditional Branch: Player is Facing Up (In page 3 in the conditional branch menu in VX, forgot where it is in XP)
    @> (Stuff you want)
    @> Control Self-Switch: A = ON
    @>
:  Branch End
@>
And on the second page, make condition Self Switch A is ON that reads:
@>
i.e. nothing happens.
Title: Re: eventing/mapping problem
Post by: Pokey on February 07, 2011, 07:03:41 AM
that priority thing doesn't seem to be working...
ah... i guess i'll do the other one :(

btw,  does anybody have a coffee/tea cup sprite?
the one in the tileset is too small. i need it for an item(see screenshot)
i know this is supposed to be in the resource section, but isn't this request too small to be put there?
Title: Re: eventing/mapping problem
Post by: pacdiggity on February 07, 2011, 07:07:33 AM
I'm not very familiar with the XP RTP, but there should be some cups and bottles etc in an Other event set. I'm not quite sure why our things didn't work, but you'll get it eventually.
Title: Re: eventing/mapping problem
Post by: Pokey on February 07, 2011, 07:12:51 AM
hmm... let me check
Title: Re: eventing/mapping problem
Post by: pacdiggity on February 07, 2011, 07:21:20 AM
You don't have to ask permission.
Go ahead!
Title: Re: eventing/mapping problem
Post by: Pokey on February 07, 2011, 07:37:09 AM
permission for what?
Title: Re: eventing/mapping problem
Post by: pacdiggity on February 07, 2011, 07:43:37 AM
Checking it out.
What did you get?
Title: Re: eventing/mapping problem
Post by: Pokey on February 07, 2011, 07:47:35 AM
Amazingly....

.

.

.

nothing :nono:
Title: Re: eventing/mapping problem
Post by: Nessiah on February 07, 2011, 04:22:24 PM
It is possible that coffee is part of the tileset so the priority is set to Below/Above Character. What you should do is set the priority to Same as Characters
Title: Re: eventing/mapping problem
Post by: Pokey on February 08, 2011, 08:33:16 AM
Quote from: Welfare-Daddy Pacman on February 07, 2011, 06:36:04 AM
Make the event 'Same as Characters' in priority.
Quote from: Nessiah on February 07, 2011, 04:22:24 PM
It is possible that coffee is part of the tileset so the priority is set to Below/Above Character. What you should do is set the priority to Same as Characters
already tried that
Title: Re: eventing/mapping problem
Post by: Nessiah on February 10, 2011, 11:55:19 AM
Show us the event page? Or better yet give us a demo with that map only on it and I'll check what might be causing it.