Jump to content

DOWNLOAD MODS

Are you looking for something shiny for your load order? We have many exclusive mods and resources you won't find anywhere else. Start your search now...

LEARN MODDING

Ready to try your hand at making your own mod creations? Visit the Enclave, the original ES/FO modding school, and learn the tricks of the trade from veteran modders...

JOIN THE ALLIANCE

Membership is free and registering unlocks image galleries, project hosting, live chat, unlimited downloads, & more...

Can't equip sword


BadCompany
 Share

Recommended Posts

okay, so i made this sword right, but i can't equip it. Every time i try i get a message saying unable to equip...any ideas as to why? The npc who has it uses it just fine, but when i kill her and take the sword it won't equip :cookie:

also, the is no script attached to the sword... the only script related to it is on the npc who is scripted to force equip it, but that shouldn't be an issue if she's dead right?

Link to comment
Share on other sites

okay, i got

scn VmpGoreNPCVampTransformScript


ref Self

short npcUnconc

short npcDead

float timer

short stage

float disablecounter


Begin onload

        set self to GetSelf

        set npcUnconc to 0

        set npcDead to 0

        set timer to 3

        set stage to 0

        startCombat Player

End


Begin GameMode

        if npcUnconc == 1

                if timer > 0

                        set timer to timer - GetSecondsPassed

                        return

                endif


                if Stage == 0

                        PlayMagicShaderVisuals effectDrain

                        playsound VmpGoreVampireHiss

                        additem GoreCrimsonQueenChest 1

                        additem GoreCrimsonQueenFeet 1

                        additem GoreCrimsonQueenHands 1

                        additem GoreCrimsonQueenHead 1

                        additem GoreCrimsonQueenLegs 1

                        additem GoreWeapEbonyLongsword 1

                        Set Stage to 1

                        Set timer to 1

                elseif Stage == 1

                        equipitem GoreCrimsonQueenChest 1

                        equipitem GoreCrimsonQueenFeet 1

                        equipitem GoreCrimsonQueenLegs 1

                        equipitem GoreCrimsonQueenHead 1

                        equipitem GoreCrimsonQueenHands 1

                        equipitem GoreWeapEbonyLongsword 1

                        PlayMagicShaderVisuals effectSummonMythicDawn

                        set stage to 2

                        set timer to 1

                elseif stage == 2

                        StopMagicShaderVisuals effectDrain

                        set stage to 3

                        set timer to 5

                elseif stage == 3

                        ;* shuts off the effects *

                        StopMagicShaderVisuals effectSummonMythicDawn

                        RemoveSpell VmpGoreRessurect

                        SetEssential GoreTzimitzeVamp 0

                        Set Stage to -1

                        set npcUnconc to 0

                            startCombat Player

                endif

           endif


        if npcDead == 1

                if timer > 0

                        set timer to timer - GetSecondsPassed

                        return

                endif

                if Stage == 0

                        PlayMagicShaderVisuals effectAtronachFlame

                        playsound VmpGoreVampireDeadSound

                        playsound VmpGoreVampireHiss

                        additem VmpGoreDeadVampireSkeleton 1

                        additem VmpGoreDeadVampireSkull 1

                        Set Stage to 1

                        set timer to 1

                elseif Stage == 1

                        ;* Burning effect gets replaced by the Blade effect *

                                    removeitem GoreCrimsonQueenChest 1

                        removeitem GoreCrimsonQueenFeet 1

                        removeitem GoreCrimsonQueenHands 1

                        removeitem GoreCrimsonQueenHead 1

                        removeitem GoreCrimsonQueenLegs 1

                        equipitem VmpGoreDeadVampireSkeleton 1

                        equipitem VmpGoreDeadVampireSkull 1

                        StopMagicShaderVisuals effectAtronachFlame

                        PlayMagicShaderVisuals VmpGoreDeadShaderFire

                        set stage to 2

                        set timer to 1

                elseif stage == 2

                        ;* Blade effect gets replaced by the smoldering effect *

                        StopMagicShaderVisuals VmpGoreDeadShaderFire

                        PlayMagicShaderVisuals VmpGoreDeadShaderSmoke

                        set stage to 3

                        set timer to 5

                elseif stage == 3

                        ;* shuts off the smoking effect *

                        StopMagicShaderVisuals VmpGoreDeadShaderSmoke

                        Set Stage to -1

                        set npcDead to 0

                endif

        endif

End


Begin OnKnockout

        set npcUnconc to 1

        set stage to 0

        set timer to 3

        AddSpell VmpGoreRessurect

        AddSpell VmpGoreBuff

        SetCombatStyle DefaultCombatRejectPCYield

        ResetHealth

End


Begin OnDeath

        set npcDead to 1

        set stage to 0

        set timer to 3

        Setstage VmpGoreCrimsonQueen 10

End
and ive tried
Begin onload

    If npcDead == 1

        Return

     Else

        set self to GetSelf

        set npcUnconc to 0

        set npcDead to 0

        set timer to 3

        set stage to 0

        startCombat Player

      Endif

End
and removing the set npcDead to 0 command from the following as well
     elseif stage == 3

                        ;* shuts off the smoking effect *

                        StopMagicShaderVisuals VmpGoreDeadShaderSmoke

                        Set Stage to -1

                        set npcDead to 0

                endif

        endif

End

but i still get the "this item cannot be equipped" message...any ideas?

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...