intfiction.org

The Interactive Fiction Community Forum
It is currently Sat Aug 18, 2018 10:46 pm

All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: Moving NPC in Twine
PostPosted: Tue May 22, 2018 12:08 pm 
Offline

Joined: Sat Mar 12, 2016 11:22 pm
Posts: 3
With Quest or Inform there is a "EveryMove" type function that would allow the creator to do things like move NPC or change the environment.
Is there something similar where regardless of the action link a player interacts with, the game world updates?


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Moving NPC in Twine
PostPosted: Tue May 22, 2018 2:23 pm 
Offline

Joined: Mon Dec 31, 2007 5:39 pm
Posts: 240
What story format are you using in Twine? If you're using Harlowe, then you can use a passage with the "header" tag that will be included with every new passage.

One gotcha: that only gets evaluated on a new passage, not on new text displaying in a given passage.


Top
 Profile Send private message  
Reply with quote  
 Post subject: Re: Moving NPC in Twine
PostPosted: Tue May 22, 2018 3:45 pm 
Offline

Joined: Sat Mar 12, 2016 11:22 pm
Posts: 3
That should work. Thanks.


Top
 Profile Send private message  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 2 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group