Jump to content
New account registrations are disabed. This website is now an archive. Read more here.
  • 0
jjmayhem

Trouble with an NPC event

Question

So, I'm trying to create an event after leaving a building that makes an NPC character run in from off screen and start talking to the player.  I can get everything to work other than the event starting properly.  I'm probably doing something wrong with the switches.   However everything I've tried either locks up or isn't working.   I haven't been able to find a good video for this, if anyone could help it'd be greatly appreciated.

Share this post


Link to post
Share on other sites

3 answers to this question

Recommended Posts

  • 0

when the play is leaving the building are they actually switching maps or staying on the same map?

 

 

I have to say I dislike using switches for events like this. You're better off having a Variable that keeps track of the story.

 

Example:

Talk to elder - Variable:0001 Story +1

Leave House - Variable:0001 Story +1

Event (running character) On Variable:0001 Story = 2, Autorun

  At end Variable:0001 Story +1

  Same event blank (or basic dialog) when Variable:0001 Story = 3 , Action Button

Go place that was unaccessible previously.

  Teleport event On Variable:0001 Story > 2 (message saying it's blocked)

       On Variable:0001 Story = 3 Teleport to dungeon.

 

this way the switches can never get mixed up. Part 2 can not happen without part 1 being completed.

Generally you only use switches that have 1 single action that will never be repeated or don't effect anything great (ie chests or doors, or an actual switch).

 

hope this helps.

Share this post


Link to post
Share on other sites
  • 0

Yeah I think I'm going to have to learn how to use variables more for the story, because it'll keep the switch from looping on me. I figured how to get what I wanted started but I think story variables will help it work out better.

Share this post


Link to post
Share on other sites
  • 0

They take a little getting used to but when you learn how they work they become an indispensable tool for your game.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...