Page 1 of 1

Door Script idea??

Posted: Wed Nov 08, 2006 8:17 am
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?

Posted: Wed Nov 08, 2006 9:09 am
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?

Posted: Wed Nov 08, 2006 1:50 pm
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.

Posted: Wed Nov 08, 2006 5:57 pm
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.