|
ZealousAnonymous Wanderer
Joined: 06 Jan 2006 Posts: 70
|
Posted: Wed Jul 19, 2006 11:13 am
%roomlink and one-way exits? |
Not sure how to do this, but I was wondering if you can use %roomlink to make one way links?
#noop %roomlink(X,N,Y) will make a two way n-s link |
|
|
|
MattLofton GURU
Joined: 23 Dec 2000 Posts: 4834 Location: USA
|
Posted: Wed Jul 19, 2006 11:31 pm |
Nope, you cannot. With ZMapper or COM calls to an external interface (ie, MS Access) you should be able to, though it involves lots of COM since you can't do it directly via Zscript.
|
|
_________________ EDIT: I didn't like my old signature |
|
|
|
ZealousAnonymous Wanderer
Joined: 06 Jan 2006 Posts: 70
|
Posted: Thu Jul 20, 2006 8:45 am |
Does roomlink only work with cardinal directions or directions you create with zMUD?
I'm really new to com but if one could use directions you make yourself perhaps something like the following:
#va DoCom {something * from ExitTbl where name = 'CUSTOM EXIT'}} <-- not sure what to do here. I'll look into it.
#va OpenLocation {Provider=Microsoft.Jet.OLEDB.4.0%char( 59)Data Source=MAPLOCATION}
#va ConnectType %comcreate( "ADODB.connection")
#call @ConnectType.Open(OpenLocation)
#call @ConnectType.execute(@DoCom)
#call @ConnectType.close |
|
|
|
ZealousAnonymous Wanderer
Joined: 06 Jan 2006 Posts: 70
|
Posted: Thu Jul 20, 2006 8:54 am |
maybe like
select * from ExitTbl where name = 'custom exit'
hmm, more looking! |
|
|
|
ZealousAnonymous Wanderer
Joined: 06 Jan 2006 Posts: 70
|
Posted: Thu Jul 20, 2006 4:28 pm |
Does ExiIdTo -1 say it's one-way?
|
|
|
|
Vijilante SubAdmin
Joined: 18 Nov 2001 Posts: 5182
|
Posted: Fri Jul 21, 2006 12:19 am |
There are a number things that you have to set to do oneway links through direct manipulation. It is much better to just get zMapper and use its interface.
|
|
_________________ The only good questions are the ones we have never answered before.
Search the Forums |
|
|
|
ZealousAnonymous Wanderer
Joined: 06 Jan 2006 Posts: 70
|
Posted: Fri Jul 21, 2006 3:10 am |
Vijilante wrote: |
There are a number things that you have to set to do oneway links through direct manipulation. It is much better to just get zMapper and use its interface. |
Thanks! |
|
|
|
|
|