begin scriptif ( GetDisabled == 0 ) if ( GetJournalIndex "journal_name" < 5 ) Disable endifelseif ( GetDisabled == 1 ) if ( GetJournalIndex "journal_name" >= 5 ) Enable endifendifend
begin scriptif ( GetDisabled == 0 ) if ( GetJournalIndex "journal_name" < 5 ) Disable endifelseif ( GetDisabled == 1 ) if ( GetJournalIndex "journal_name" >= 5 ) Enable endifendifend
PlaceAtPC, "some_item", 1, 0, 0
Begin somescriptshort dooncefloat local_posif ( doonce == 0 ) set local_pos to ( "some_npc"->GetPos, X ) SetPos, X, local_pos set local_pos to ( "some_npc"->GetPos, Y ) SetPos, Y, local_pos set local_pos to ( "some_npc"->GetPos, Z ) SetPos, Z, local_pos set doonce to 1endifEnd
Begin Stranger_Second_Noteif ( GetJournalIndex "Quest_of_Ages_1" < 30 ) if ( GetDisabled == 0 ) Disable endifelseif ( CellChanged == 1 ) if ( GetDisabled == 1 ) Enable endifendifEnd