ADRIFT Forum


The place to discuss the ADRIFT Interactive Fiction toolkit

Event timing question

This forum is the place to discuss the older ADRIFT versions 3.9 and 4.0.

Please refer to the ADRIFT 4 Manual for more information.

Event timing question

Postby mugen24 » Mon May 28, 2012 6:32 am

Another question: Is there any way to set a trigger for an event to when you first enter a room after a task has been completed? I have an idea on how to do this another way but I'm wondering if there's an easier way to do this.
mugen24
 
Posts: 9
Joined: Thu May 24, 2012 6:12 am

Re: Event timing question

Postby ralphmerridew » Mon May 28, 2012 11:58 am

Creating an event that starts the first time you enter room R after Task T is completed:

Note: Is it "enter the room" or "be in the room"? (If the player is in the room when the task completes, does the event start immediately?) This method does the second, but you can tweak it a bit to get the first.

Do the following:
Create Event 1 that starts after task T. It lasts 1 turn, restarts immediately, and starts task Q on completion.

Task Q can only be executed in Room R. Otherwise, it has no text, actions, or conditions. It is not repeatable.

Event 2 starts after Task Q is complete.
Bloodhounds can make you laugh and cuss in the same breath. They are endearing, faithful, and can sling drool ten feet in any direction. -- Virginia Lanier
User avatar
ralphmerridew
 
Posts: 2506
Joined: Fri Dec 13, 2002 11:56 pm
Location: Missouri

Re: Event timing question

Postby mugen24 » Tue May 29, 2012 3:49 am

Thanks, I'll see if that works.
mugen24
 
Posts: 9
Joined: Thu May 24, 2012 6:12 am


Return to ADRIFT 3.9 and 4.0

Who is online

Users browsing this forum: No registered users and 7 guests