Jump to content

Need help with a 'simple' script...


nikolaf

Recommended Posts

Hi all,

 

I was inspired lately by Oblivion and thought to remake the Mythic Dawn in my mod. So far I have made everything I need, except one thing; yes, you guessed it: a script.

The point was to make a script that, on the actors death unequips the bound armor and weapon and equips the standard Mythic Dawn robes, whilst also playing a magic effect I made earlier (say BoundMDArmor). If you've played Oblivion, you'll know what I'm talking about.

 

Sadly, I lack a lot of knowledge regarding papyrus scripting, and thus, my script, in its current state, looks something like this:

 

--------------------------------------------

Scriptname MythicDawnArmorScript extends ObjectReference
Actor Property akVictim Auto
Armor Property ArmorBoundCuirass Auto
Armor Property ClothesMythicDawnBoots Auto
Armor Property ClothesMythicDawnGloves Auto
Armor Property ClothesMythicDawnRobes Auto
Weapon Property DaedricMaceBound Auto
Event Ondeath()
akVictim.UnequipItem(ArmorBoundCuirass)
akVictim.UnequipItem(DaedricMaceBound)
akVictim.EquipItem(ClothesMythicDawnBoots)
akVictim.EquipItem(ClothesMythicDawnGloves)
akVictim.EquipItem(ClothesMythicDawnRobes)
EndEvent
--------------------------------------------
As you can see, I'm currently missing the whole magic effect part. Any help with this script would be very much appreciated. :)
Link to comment
Share on other sites

  • 10 months later...
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...