Envision, Create, Share

Welcome to HBGames, a leading amateur game development forum and Discord server. All are welcome, and amongst our ranks you will find experts in their field from all aspects of video game design and development.

cant get my NPC to STFU

im trying to make an event where someone comes up to you and you cant move. they say something to you and make you follow them somewhere.

How do i do this?
 

Fusty

Sponsor

I think it can be done with a simple autorun event.
Example:

@>Set Move Route: This event
                          $> Move Down
                          $> Move Down
Wait for move's completion.
Text: Follow me!
@Set Move Route: This event
                          $> Move Up
                          $> Move Up
@Set move route: Player
                          $>Move Up
                          $>Move Up
Hope it helps.
 
i guess my first post was kinda vague. i want a conditional statement that says if a certain variable is active, then nothing happens. but if its not, the event happens and you have to do it. i want the player to not be able to move and is forced to follow the event. Thank you so much for your help (btw the text just keeps repeating over and over)
 
Skybug13":1983oexq said:
i guess my first post was kinda vague. i want a conditional statement that says if a certain variable is active, then nothing happens. but if its not, the event happens and you have to do it. i want the player to not be able to move and is forced to follow the event. Thank you so much for your help (btw the text just keeps repeating over and over)
Variables aren't really active, they just have a value.  Nonetheless, here's what you should do.

Conditional Branch: Variable [0001: Sample] ((=,<,>, etc.)) 1
@>Set Move Route: This event
                          $> Move Down
                          $> Move Down
Wait for move's completion.
Text: Follow me!
@Set Move Route: This event
                          $> Move Up
                          $> Move Up
@Set move route: Player
                          $>Move Up
                          $>Move Up
Wait for move's completion.
Self Switch: A = ON

Then make a blank event page that has the condition "Self Switch A = ON" and it won't repeat.

~Guardian1239
 

Thank you for viewing

HBGames is a leading amateur video game development forum and Discord server open to all ability levels. Feel free to have a nosey around!

Discord

Join our growing and active Discord server to discuss all aspects of game making in a relaxed environment. Join Us

Content

  • Our Games
  • Games in Development
  • Emoji by Twemoji.
    Top