Jump to content

Trying To Make NPC's Wear Goam's Equippable Ears, Scripting and SPID Help


SkeletonParade

Recommended Posts

Hello! So after the release of the equippable goam's ears i want to equip ears to Mer races permanently. One caveat though is that ever race's ears are different, and female and male ears are different. I have adjusted the meshes for each individual race for each gender and also created ARMA and ARMO things in CK for each ear for each race. I am trying to create a spell (or spell(s)?) that NPCs have that casts and they equip the ears. 

Idk if i have to create an individual MGEF or script for each race. 

 

The spell isnt working and i am pretty sure it is because i don't have a proper script.
Could someone please help me???

 

My script currently:

 

Scriptname EquipGoamEarsDE extends ActiveMagicEffect  

Armor Property WearsGoamEarsForDE  Auto  

Event OnEffectStart(Actor target, Actor caster)

EndEvent

Link to comment
Share on other sites

Hi there, I'm looking for something similar.  >>> Have a look in the code in the Mod 86800 on nexus (called "Random KS Hairdos - HDT SMP").  That mod distributes a spell, and the spell has a script.  I decompiled that script to see if I could use similar commands.  The script has 3 functions.  I think you probably know enough how to make it work.  My problem with it was that mod uses Armo arrays built in Creation Kit to hold the items and the script pulls a random item from that array, and I don't want to use prebuilt arrays.

My thought was to use SPID or KID to attach a Keyword like "wearthisobject" to the items I want NPCs to wear.  Then use SPID to distribute these items to NPCs.  Then distribute a spell to them as well, which executes a script as soon as they spawn.  That script would iterate through the NPC inventory, find items with keyword "wearthisobject" and equipItem().  

Link to comment
Share on other sites

  • Recently Browsing   0 members

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