Jump to content

New impact script not giving EXP


ZippyDSMlee

Recommended Posts

This effects the few weapons using the dummy object effect I used the impact script example and made my script from it but it seems if you kill something with a damage over time enchantment alone it dose not give you EXP but if you kill something using a weapon without the dummy script the damage over time enchantment will give you EXP for target death.

 

 

My script

ScriptName zippy308strongempScript

Begin ScriptEffectStart
	CIOS zippyenchempstrong
End
Link to comment
Share on other sites

http://geck.bethsoft.com/index.php?title=GetCauseofDeath

 

Try grabbing their ID and using GetCauseOfDeath to determine whether or not the death was caused by your modded weapon, and then using player.RewardXP accordingly.

 

So this tells me for sure if its from me or from the enchantment by itself?

 

I have tested it in a few different ways. When the dummy enchantment is left on the weapons (hunting rifle and sniper rifles) enchantments placed via explosion will not process. I added the impact script and now the poison processes BUT I get no EXP for the kill. If My team helps I get EXP but not via poison alone.

 

========

Edit

 

Okay its -1.0 like when you use the kill command, this is strange it only effects death claws it dose take some time to kill one but cazador's don't take that much time and they give EXP.

 

edit

Tested the weak poison on a few things it seems that if the target is unaware of you and they die you get no EXP.

 

Thanks for the help!

Edited by ZippyDSMlee
Link to comment
Share on other sites

  • Recently Browsing   0 members

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