Jump to content

dargon01

Supporter
  • Posts

    7
  • Joined

  • Last visited

Everything posted by dargon01

  1. I think it's a bug because I just changed the percentage of the perk FortuneFinder04 to 100% and it still don't give you the explosion of caps if you 1Hit-kill something
  2. Nope doesn't work either do you think I need to check some flags?
  3. It seems that If I use this script: Scriptname NUHealthRec extends activemagiceffect Int Property RandomV Auto Const ActorValue Property HP Auto Const Event OnEffectFinish(actor akTarget, actor akCaster) if akTarget.IsDead() == 1 Int roll = utility.RandomInt(1, 100) If (roll <= RandomV) Float temp9 = 9999 as Float akCaster.RestoreValue(HP, temp9) Debug.MessageBox("Full HP") EndIf EndifEndEvent without the condition GetDead = 0, it counts 1-hit killbut the problem is if I shoot the dead corpse I still get the effect
  4. then I make an enchantment and in the weapon mod I attach the enchantment
  5. Btw I'm putting this effect in a enchantment so that I can apply it on a gun mod
  6. the Onkill Event doesn't seem to work Scriptname NUHealthRec extends activemagiceffect Int Property RandomV Auto Const ActorValue Property HP Auto Const Event OnKill(actor akVictim) Int roll = utility.RandomInt(1, 100) If (roll <= RandomV) Float temp9 = 9999 as Float Game.GetPlayer().RestoreValue(HP, temp9) Debug.MessageBox("Full HP") EndIfEndEvent I already tried OnEffectStart() doesn't work too
  7. So the problem is the mod works fine when it takes more than 1 hit to kill the npc, but when I One-hit kill something the script doesn't seem to apply. Here's the script Scriptname NUHealthRec extends activemagiceffect Int Property RandomV Auto Const ActorValue Property HP Auto Const Event OnEffectFinish(actor akTarget, actor akCaster) if akTarget.IsDead() == 1 Int roll = utility.RandomInt(1, 100) If (roll <= RandomV) Float temp9 = 9999 as Float akCaster.RestoreValue(HP, temp9) Debug.MessageBox("Full HP") EndIf EndifEndEvent Have any ideas on why that happens? BTW this script is supposed to refill player's HP when something is killed. P.s: sorry for my English.
×
×
  • Create New...