Main Menu
  • Welcome to The RPG Maker Resource Kit.

eventing/mapping problem

Started by Pokey, February 07, 2011, 06:14:41 AM

0 Members and 1 Guest are viewing this topic.

Pokey

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]
[/spoiler]

madriel222

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.




Pokey

*sigh*
I also tried counter flag but it didn't seem to work
anyway thanks

pacdiggity

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.
it's like a metaphor or something i don't know

Pokey

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?

pacdiggity

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.
it's like a metaphor or something i don't know

Pokey


pacdiggity

You don't have to ask permission.
Go ahead!
it's like a metaphor or something i don't know

Pokey


pacdiggity

Checking it out.
What did you get?
it's like a metaphor or something i don't know

Pokey


Nessiah

#11
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


Pokey

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

Nessiah

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.