Begin XionStone2If onactivate == 1Messagebox "You take the hammer, and with several powerful swings clear the rubble!"XionRubble1->Disable Xionrubble2->Disable Xionrubble3->Disable Xionrubble4->Disable Stoneshatter_fake->Disable player->additem stoneshatter_real 1endifend
Begin MyDisableShort DoneFloat Timeif ( MenuMode == 1 ) ; I use this out of habit with a timer returnendifif ( done == 1 ) returnendifif ( GetJournalIndex, my_journal >= XX ) ;xx = your journal index if ( GetCellChanged == 1 ) ; player leaves cell disable endif Set Time to ( Time + GetSecondsPassed ) if ( Time > 3 ) setDelete 1 ;completely removes reference set time to 0 set done to 1 endifendifend
Begin MyDisableShort DoneFloat Timeif ( MenuMode == 1 ) ; wait until dialogue has ended returnendifif ( done == 1 ) returnendifif ( GetJournalIndex, my_journal >= XX ) ;xx = your journal index cast, "almsivi intervention", player ;of course make sure NPC has spell and is able to cast it disable Set Time to ( Time + GetSecondsPassed ) if ( Time > 3 ) setDelete 1 set Time to 0 set done to 1 endifendif