begin V.Specialscriptif ( player->GetItemCount, "V. special item" => 1 ) "V.specialCreature" -> enable ; must be a unique Id PlaceAtPC, "V.specialCreature", 1, 120, 0 "V.specialCreature" -> Forcegreeting ;you should set this to initiate the companion scriptelse "V.specialCreature" -> Disableendifend(
begin V.specialItemscriptshort OnPCDropIf ( OnPCDrop == 1 ) "V.SpecialCreature" -> disableendifend
begin mrdSummonItemScript; global short mrdSummonshort OnPCAddshort OnPCDropif ( OnPCDrop ) set OnPCDrop to 0 set mrdSummon to 0elseif ( OnPCAdd ) set OnPCAdd to 0 set mrdSummon to 1 PlaceAtPC mrdSummonCreatureID 1 120 0endifendscript on the creature
begin mrdSummonCreatureScript; global short mrdSummonfloat timerif ( GetDisabled ) if ( timer < 5 ) set timer to ( timer + GetSecondsPassed ) return endif set timer to 0 setdelete 1 returnendifif ( mrdSummon == 0 ) disableendifend