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

(SOLVED) How to make an NPC to run into you from off screen ?

Question

Ok, ive made a little cutscene thingy for my game, once the scene is finished i want an

an NPC to run into me really fast from off screen, any help ? Can't figure this one out...

I know its gotta be something do with a switch but i'm not very good with them

Thanks in advance

Edited by Dannyboi1989

Share this post


Link to post
Share on other sites

2 answers to this question

Recommended Posts

  • 0

Set your NPC event up off screen in the following manner;

 

STEP 1

Set the move route(PICTURE 1A) up so that the NPC(PICTURE 1B) will walk on screen and to the desired spot.

 

 

PICTURE 1A

1MoveRoute.jpg

PICTURE 1B

MoveRuoteThisEvent.jpg

 

 

 

 

STEP 2

Setup the conditions section(PICTURE 2A) for your event so that it is controlled by a switch(PICTURE 2B).

 

 

PICTURE 2A

2SceneOverSwitch.jpg

 

PICTURE 2B

3ConditionalBranchSwitch.jpg

 

 

 

STEP 3

Next, add a self switch to the end of the List of Event Commands(PICTURE 3A), and set it to A, On(PICTURE 3B).

 

 

PICTURE 3A

4SelfSwitch.jpg

 

PICTURE 3B

5SelfSwitchAon.jpg

 

 

 

STEP 4

Now create a new page that has a condition set to self switch A(PICTURE 4A).

 

 

 

PICTURE 4A

6NewPage.jpg

 

 

 

Explanation:

What you have just done is create an event that will walk from outside the viewable screen to on screen when the set switch is active. All you need to do to make that happen is turn that switch on. Just add a control switch X On at the end of your cut scene and it will trigger the event running up to you.

If you need to make the event that runs up to you speak, etc, just add all that stuff after the move route but BEFORE the self Switch A On.

After the event has done everything you want it to it will 'dissapear' by turning to page two of the event(using self switch A), which has no graphic or commands.

So if you want it to look right you will most likely need to make the npc walk off screen again before the self switch.

Aternately you can make the first page fade the screen to black(at end BEFORe self switch), the second page auto run a fade back to normal then add a self switch B On to page two, and create a page three triggered by self switch B, and have page three be the empty page that makes the NPC 'dissapear'.

 

I see you added solved already, but I already made this small guide so ill post it anyway.

Share this post


Link to post
Share on other sites
  • 0

Ok thanks man, i didn't actually do it that way but it still works haha, i just set the npc down off screen, then made an autorun event, selected move route, then selected the npc's name in the drop down box, then selected the way i wanted him to move and the speed/frequency etc

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...