CaptainRC Posted March 31, 2011 Share Posted March 31, 2011 With the TES4 Construction, I can do some basic modding, but I'm no good with scripts. Could someone write a script for an object for me? It should be pretty basic, but unfortunately, I don't even know the basics of scripts. Link to comment Share on other sites More sharing options...
jamochawoke Posted March 31, 2011 Share Posted March 31, 2011 You could write down what you specifically want to accomplish with said script. I'm not very good with scripts myself (see my thread on it lolz) but I have the basics down more or less. There are a lot better posters here than I on it. But putting down what you want to do will be the best help :). Link to comment Share on other sites More sharing options...
David Brasher Posted March 31, 2011 Share Posted March 31, 2011 What does your object do? What is the script's function? Link to comment Share on other sites More sharing options...
Deleted1848331User Posted March 31, 2011 Share Posted March 31, 2011 What does your object do? What is the script's function? Saying what you want (like the quote) will help us help you :thumbsup: Link to comment Share on other sites More sharing options...
CaptainRC Posted April 1, 2011 Author Share Posted April 1, 2011 Here's what I want the script to do. I've placed an enchanted sword in an Ayleid ruin. However, I want to make it a holy sword. I want the script to make the sword display a message like "You cannot take this sacred sword. You are not worthy." and be unable to be picked up if the player's infamy is greater than zero. Even better if the sword gives the player a mild shock if he tries to pick it up under that condition. However, if the player's infamy is at zero, then I want it to display something to the effect of "You are worthy. Take this sacred sword. However, if you misuse the sword, you will not be able to use it again until you have redeemed yourself." So should the player gain any infamy, the sword should be unable to be equipped until he gets his infamy back to zero. Link to comment Share on other sites More sharing options...
fg109 Posted April 1, 2011 Share Posted April 1, 2011 Try this: scn test Begin OnActivate if (GetActionRef != Player) Return else if (GetPCInfamy == 0) Activate MessageBox "You are worthy. Take this sacred sword. However, if you misuse the sword, you will not be able to use it again until you have redeemed yourself." elseif (GetPCInfamy > 0) Cast StandardShockDamageTouch3Journeyman Player MessageBox "You cannot take this sacred sword. You are not worthy." endif End Begin GameMode if (Player.GetEquipped "your sword's object ID here" == 1) if (GetPCInfamy > 0) Player.UnequipItem "your sword's object ID here" endif endif End Begin OnEquip if (GetPCInfamy > 0) MessageBox "Die infidel! Keep your filthy hands to yourself!" PlaySound AMBThunder Player.PlayMagicEffectVisuals SHDG Player.Kill endif End Link to comment Share on other sites More sharing options...
Recommended Posts