Door Script idea??

Scripted ALFA systems & related tech discussions (ACR)

Moderators: ALFA Administrators, Staff - Technical

Locked
User avatar
Sheyjin
Kobold Footpad
Posts: 26
Joined: Sun Jan 11, 2004 4:37 am
Location: Undermountain
Contact:

Door Script idea??

Post by Sheyjin »

I would like to see a script to put on the doors, that requires a <tag>_1a or 1b on the door tag/resref..

i.e area001 door -- UM001_1a
area002 door -- UM001_1b

now the script will send the PC from 1a to 1b or vis a versa, so all he script is actually doing is looking for the other door that has the same tag with the extention _1a or _1b..

Does this make sence? and is it workable?
People have been trying for 1000's of years, to conquer my domain. But, there is only one Master. If you feel brave and bold come try. I need what you have to offer.. Your treasures and corpses...
Ronan
Dungeon Master
Posts: 4611
Joined: Sun Feb 20, 2005 9:48 am

Post by Ronan »

Yes, its workable. However, the ACR doesn't use tags to store data for door settings - we just have far too many of them. We use local variables.

But my question is, why? Unless I'm missunderstanding, thats no different from defining an AT destination?
User avatar
Fionn
Ancient Red Dragon
Posts: 2942
Joined: Sun Jan 04, 2004 7:07 am
Location: Seattle, WA

Post by Fionn »

Well, it would make it easier as you'd only need to update the tag on each door, rather than the tag *and* AT destination. This avoids typos as well. Seems like more work than it's worth to me though. Shrugs.
PC: Bot (WD)

Code: Select all

     -----          -----          -----          -----
    /     \        /     \        /     \        /     \
   /  RIP  \      /  RIP  \      /  RIP  \      /  RIP  \      /
   |       |      |       |      |       |      |       |      |
  *| *  *  |*    *| *  *  |*    *| *  *  |*    *| *  *  |*    *|
_)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_//(/|_)(__)/\\_(
User avatar
ç i p h é r
Retired
Posts: 2904
Joined: Fri Oct 21, 2005 4:12 pm
Location: US Central (GMT - 6)

Post by ç i p h é r »

Yeah I think Fionn's right. It's just a shortcut (one less thing to do).

I think there may be a problem with hardcoding this though. Can all doors be setup to transition the same way (ie one door to another)? Will there ever be a need to transition to a waypoint for example? In NWN, waypoints were used to set the direction a character was facing when coming through the transition.
Locked