The idea is to talk to an NPC and from the conversation will decide what WP transition the door will send them. I can do this from an object like a portal by changing a string variable on the portal as the WP destination from the conversation and change it to null after a short time. But this isn’t working on the door transitions.
Any suggestions on how I can change the door transition from a NPC conversation?
I farted around with SetTransitionTarget , but the lexicon didn’t give an example and I’m not even sure I’m looking in the right area. Anyhow, after too many hours, I’m conceding and asking for help.
object oGate;
oGate = GetObjectByTag("gate1");
// Have us perform a sequence of actions.
object WPDestination;
WPDestination = GetWaypointByTag(Destination);
SetTransitionTarget(WPDestination,oGate);