Begin FATScriptIf ( getjournalindex "SM_hotbartender" =< 48 ) if ( GetDisabled == 1 ) enable endif endifelseIf ( GetPCCell "Tel Aruhn, Plot and Plaster" == 0 ) If ( getjournalindex "SM_hotbartender" >= 49 ) if ( GetDisabled == 0 ) disable endif endifendifend
Havn't tested it yet, but i'm gong to. Do i need to put a do_once condition for all of this?
Ok, this is what i want to do. In a quest you talk to this certain npc. I did have a travel condition on them where they change cells once you left the current cell and you see them later. But for this situation they will be changing clases. So i duplicated this npc and now i want the old npc to be disabled and the new npc to be enabled. I'm going to attach this script to them so it will be a local script. Does this look good?
I put the
If ( GetPCCell "Tel Aruhn, Plot and Plaster" == 0 )
because once the journal updates the npc will vanish while they are in the same cell. that's not what i want. Only when they leave the player leaves the cell.