this is typically bizarre.
Here's the script I used:
void main()
{
object oDebug = GetFirstPC(FALSE);
SendMessageToPC(oDebug, "run ( kg01_to_kg09_ou ) " + GetName(OBJECT_SELF));
object oWp = GetTransitionTarget(OBJECT_SELF);
SendMessageToPC(oDebug, ". Transition Target = " + GetName(oWp));
SetMapPinEnabled(oWp, TRUE);
}- first i put it in onUsed, and the mapnote did not enable but the transition worked.
- then i put it in onClicked, and the mapnote enabled but the transition didn't work.
Thinking back in the foggy haze of memory to NwN.. i remember having to jump through a whackload of hoops, as it were, to get event scripts on doors to happen when transitioning. Or something like that: iirc, when using a transition script then the alloted transition action won't work; in other words, you have to script the transition manually, alongside enabling the mapnote,
( or you could enable the mapnote in an onEnter script in the next area )