Jump to content

Making mod script no worky


stalkersoldiers

Recommended Posts

In that case, the script would go like...

scn MyWeaponEnchantScript

Begin ScriptEffectStart
;ScriptEffectStart blocks run when the effect in question is first added.

 if (GetRandomPercent < (GetPCInfamy / 2) && IsActor && IsEssential == 0)
;If a random number between 0 and 99 is less than the player's infamy divided by two...
;...the victim is, in fact, an actor, and they're not essential...

	  PlaySound SPLDestructionHit
	  kill
 endif
end

Be sure to set it to a Magic Effect script via the drop-down box above the text-editor, then attach it to a Script Effect enchantment and attach that to the weapon by the normal means.

 

Just to note, this isn't based off the Mehrunes Razor script because I don't have Mehrunes Razor. I can't see a reason why it wouldn't work, though.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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