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...

Search the Community

Showing results for tags 'reference'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • Community Boards
    • About TESA
    • TESA Community
  • Hosted Boards
    • The Enclave
    • Hosted Projects
  • Gaming Boards
    • The Elder Scrolls
    • Fallout
    • Indie Games
  • RPG Boards
    • Roleplaying

Categories

  • Showcase
    • Skyrim
    • Fallout
    • Oblivion
    • Misc
  • Exclusives
    • Skyrim
    • Fallout
    • Oblivion
    • Morrowind
    • Misc
  • Community Works
    • Skyrim
    • Oblivion
    • Fallout
    • Misc
    • Student Projects

Categories

  • ESV: Skyrim Modding
    • Creation Kit Basics
    • Level Design
    • Character Design
    • Papyrus
    • Quest Design & Dialogue
    • Graphic Artistry
    • 3D Craftworks
  • ESIV: Oblivion Modding
    • Construction Set Basics
    • Worldbuilding
    • NPCs & Radiant AI
    • Scripting
    • Questbuilding & Dialogue
    • Story & Lore
    • Texturing
    • Modeling
    • Miscellaneous
  • ESIII: Morrowind Modding
    • Tool Set Basics
    • Worldbuilding
    • NPCs
    • Scripting
    • Questbuilding
    • Texturing
    • Modeling
  • Fallout 3 Modding
    • GECK Basics
    • Worldbuilding
    • NPCs & Radiant AI
    • Scripting
    • Questbuilding & Dialogue
    • Texturing
    • Modeling
  • Gaming Guides
    • Oblivion Gaming
    • Morrowind Gaming
    • Fallout 3 Gaming
  • Miscellaneous Tutorials
  • TES Alliance HowTo Guides

Product Groups

  • VIP Memberships
  • Subscriptions

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Website URL


Steam


XBox Live ID


MSN


Skype


Location


Interests

Found 1 result

  1. So I'm working on a script that is supposed to resemble the bound armor in TESIV. The variant that I'm having trouble with is one designed solely for NPCs. The goal is to have the spell trigger when the NPC goes into combat, and have it automatically dispel when he dies or leaves combat. I have just about everything sorted out, but I don't know how to have the "EquipItem" function reference the actor that the script is attached to. Here's what I have so far: Scriptname VHBoundArmorMythicDawnDeathDispel extends ObjectReference ;Begin Bound Armour list Armor Property Helmet Auto Armor Property chest Auto Armor Property boots Auto Armor Property Hands Auto ;End Bound Armour list ;Begin Regular Clothes list Armor Property Robe Auto Armor Property RobeBoots Auto Armor Property RobeHands Auto ;End Bound Armor list Message Property FailedEquip Auto Int Property Worked Auto SPELL Property ThisSpell Auto Event OnCombatStateChanged(Actor akTarget, int aeCombatState) if (aeCombatState == 1) SELF.AddItem(Helmet) ;SELF.EquipItem(Helmet) SELF.AddItem(chest) ;SELF.EquipItem(chest) SELF.AddItem(boots) ;SELF.EquipItem(boots) SELF.AddItem(Hands) ;SELF.EquipItem(Hands) SELF.RemoveItem(Robe) elseif (aeCombatState == 0) ;Put the same things as in "OnDying" in this area once bugs worked out else endif endEvent ;====================================================== ;The functions that have the semicolons are the ones that aren't working. Since they couldn't work, I nulled them for the time being ;so that the script could compile as-is. I'm wanting the person that this script is attached to to equip the items in those ;circumstances. ;====================================================== Event OnDying(Actor akTarget, Actor akCaster) SELF.RemoveItem(Helmet) SELF.RemoveItem(chest) SELF.RemoveItem(boots) SELF.RemoveItem(Hands) SELF.AddItem(Robe) ;EquipItem(Robe) ;EquipItem(RobeHands) ;EquipItem(RobeBoots) endEvent
×
×
  • Create New...