New account registration is temporarily disabled.

[RM2K3] SHOP EVENT

Posts

Pages: 1
So basically, what I'm trying to do is when you open the door, a npc comes outside gives you a greeting, then allows you to purchase. If done, the npc says goodbye and closes the door.

I'm having trouble with this; can someone help me out with this. I would be appreciated



pianotm
The TM is for Totally Magical.
32388
Event 1: Shopkeeper.
Event 2: Door.
Event 3: Trigger.

In event 1: First page blank. Second page, shopkeeper with condition set to Switch 1: Shopkeeper.
Event 2: One page. Door.
In Event 3 do the following:
Set the trigger to player touch.

In the Contents:

@>Set Event Location: Shopkeeper (same coordinates as door)
@> Play SE: 'Open1' 100, 100, 50
@>Set Move Route: Door Event, Turn Right, Wait, Turn Up, Wait, Turn Left
@>Wait for All Movement
@>Control Switches: [0001:Shopkeeper] = ON
@>Set Move Route: Shopkeeper, Through ON, Move Down
@>Set Move Route: Player, Direction fix ON, Move Down, Direction fix OFF
@>Wait for All Movement
@>Change Faceset: 'Shopkeeper_File', 1, Left, No Flip
@>Shop Processing:


When finished:


@>Set Move Route: Shopkeeper, Move Up
@>Wait for All Movement
@>Control Switches: [0001:Shopkeeper] = OFF
@>Set Move Route: Door Event, Turn Up, Wait, Turn Right, Wait, Turn Down
@>Wait for All Movement
@> Play SE: 'Close1' 100, 100, 50


That should do it.
author=pianotm
Event 1: Shopkeeper.
Event 2: Door.
Event 3: Trigger.

In event 1: First page blank. Second page, shopkeeper with condition set to Switch 1: Shopkeeper.
Event 2: One page. Door.
In Event 3 do the following:
Set the trigger to player touch.

In the Contents:

@>Set Event Location: Shopkeeper (same coordinates as door)
@> Play SE: 'Open1' 100, 100, 50
@>Set Move Route: Door Event, Turn Right, Wait, Turn Up, Wait, Turn Left
@>Wait for All Movement
@>Control Switches: [0001:Shopkeeper] = ON
@>Set Move Route: Shopkeeper, Through ON, Move Down
@>Set Move Route: Player, Direction fix ON, Move Down, Direction fix OFF
@>Wait for All Movement
@>Change Faceset: 'Shopkeeper_File', 1, Left, No Flip
@>Shop Processing:


When finished:


@>Set Move Route: Shopkeeper, Move Up
@>Wait for All Movement
@>Control Switches: [0001:Shopkeeper] = OFF
@>Set Move Route: Door Event, Turn Up, Wait, Turn Right, Wait, Turn Down
@>Wait for All Movement
@> Play SE: 'Close1' 100, 100, 50


That should do it.


Thank you for helping me out!

Pages: 1