[Encore] Using #7 generic exit

paul prayner at hwy54.com.au
Tue Nov 10 14:19:41 MST 2009


Thanks Truna
I changed the parent of my lift to #3.
But, I've got no idea how to create an entrance "but no actual exits". I did 
say I was noob :)

My plan was to try and replicate the real thing. I currently have 4 floors. 
If, from floor 1, we press 4 and go to floor 4, I'd imagine, the lift would 
stay there.
verb:press_up this none none
So, what I currently have is:
 1: player:tell("DING!.....You enter the lift");
 2: suspend(2);
 3: player:tell("--1--");
 4: suspend(2);
 5: player:tell("--2--");
 6: suspend(2);
 7: player:tell("--3--");
 8: suspend(2);
 9: player:tell("--4--");
10: suspend(2);
11: player:tell("You've reached the Penthouse");
12: player:tell("DING!.....The doors slide open");
13: player:moveto(#215);
14: "Last modified Tue Nov 10 19:13:23 2009 EST by basil (#166).";
That's the easy part. And will no doubt evelove further!

The problem with this(in my mind), is once you get to floor 4, you can no 
longer see the lift. Perhaps the entrance will fix this!!

I was working on buttons for each of the floors, to try and determine where 
the lift is. I haven't made much progress there until I can get access to 
the lift from other places.





heya ...

we have a number of elevators and vehicles of various sorts - the primary 
technique is to set up a room with an entrance and no actual exits and add 
objects as buttons then add a new verb [push / press]  to each button so 
that "push button 1" teleports the player to the new location

new location could be a mirror lift with a floor exit or the space itself 
...

works a treat - especially if you add a couple of suspends which print out 
elevator type events .... and change the default icons ... you could even 
construct a generic lift button for simple re-use

enjoy, love truna
________________________________________
From: encore-bounces at encore-consortium.org 
[encore-bounces at encore-consortium.org] On Behalf Of paul 
[prayner at hwy54.com.au]
Sent: Monday, November 09, 2009 7:21 PM
To: Encore at encore-consortium.org
Subject: [Encore] Using #7 generic exit

Hi
I explored creating a lift (elevator) to transport in enCore.

As a noob, I started off using a generic thing #5 .....and got some 
preliminary coding working in the most basic way.
Found YGM, and saw reference to an elevator in Lambda.

While I couldn't access any of the code, I checked out it's parent and found 
that it was a generic exit #7.

I changed parent, and it showed up as an error.

Is that because I need to link it to some rooms - and how do I do that so 
the exits don't show as normal exits in enCore?


Cheers

Paul 




More information about the Encore mailing list