ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

Events, Seconds and updating NPC whereabouts..

This forum is the place to learn about and discuss ADRIFT 5. Feel free to mention any bugs you find here, but please also add these to the Bugs & Enhancements list.

Please also refer to the ADRIFT 5 Wiki for more information.

Events, Seconds and updating NPC whereabouts..

Postby DazaKiwi » Fri Apr 14, 2017 9:06 am

It seems if you have an Event that is set to run immediately at the start of your game and after so many seconds it will run a task that moves a NPC to where the player is as a timed entrance, but Adrift gets muddled. That is after that task in question is run and you type x character Adrift doesn't know who you are talking about because as far as its concerned that NPC isnt there, until you enter the command again or any other command. It seems when the task moved the NPC to Players location Adrift hasn't updated this truly in the current turn and has to wait until the next turn cycle to update itself. I tried using making a task that skipped a turn run in the subevent before the move NPC task but that didn't work.

Is there a way around this still using an timed event? i have gone the easy route and have instead created a task rather than use an event that asks the player to type "Continue" and then move NPC.
User avatar
DazaKiwi
 
Posts: 505
Joined: Thu Oct 21, 2010 9:05 am
Location: New Zealand
Points: 13

Re: Events, Seconds and updating NPC whereabouts..

Postby Campbell » Fri Apr 13, 2018 5:26 pm

Can you add a bug report please?
ADRIFT Developer developer.
User avatar
Campbell
Site Admin
 
Posts: 4609
Joined: Sun Jun 23, 2002 11:05 am
Location: Edinburgh, Scotland

Re: Events, Seconds and updating NPC whereabouts..

Postby DazaKiwi » Mon Apr 16, 2018 4:14 am

Campbell wrote:Can you add a bug report please?


I will call this as a false alarm. I just made a little demo to try and replicate this (as my project i had this issue on i've since done it a different way) and I wasn't able to reproduce this. I was able to move a npc to a location. I think i was switching player with another NPC in my game, so i did that in my demo and still couldn't reproduce the problem i had. So will leave it for now as a false alarm.
User avatar
DazaKiwi
 
Posts: 505
Joined: Thu Oct 21, 2010 9:05 am
Location: New Zealand
Points: 13


Return to ADRIFT 5.0

Who is online

Users browsing this forum: No registered users and 4 guests