alonsomartinez Posted December 1, 2009 Posted December 1, 2009 So I tried to script an arrow to kill ANY vampire when they are hit with it but It didnt work.I looked on the CS wiki but didn find much help.Heres my script scn VampireKill begin onhit If getisrace Vampirerace=1 kill endifend No dialoge boxes came up and I just closed and saved the script and made an enchantment and attached it to the arrow.Then I tasted it in the game and it didnt work. :thanks:
Vagrant0 Posted December 1, 2009 Posted December 1, 2009 So I tried to script an arrow to kill ANY vampire when they are hit with it but It didnt work.I looked on the CS wiki but didn find much help.Heres my script scn VampireKill begin onhit If getisrace Vampirerace=1 kill endifend No dialoge boxes came up and I just closed and saved the script and made an enchantment and attached it to the arrow.Then I tasted it in the game and it didnt work. :thanks: If this script is tied to an enchantment, you're using the wrong blocktype. http://cs.elderscrolls.com/constwiki/index.php/Begin ScriptEffectStart, ScriptEffectFinish, and ScriptEffectUpdate are the only blocks which will be triggered when used within a spell or enchantment script. The "on hit" part is determined directly from the settings of the script effect within the enchantment. Try using ScriptEffectStart instead.
alonsomartinez Posted December 1, 2009 Author Posted December 1, 2009 Ah yet again saved by Vagrant lol Thanks I considered that but I got confused by the magic part.I thought it only applied to spells and not enchantments well thanks again :thanks: :thanks:
Recommended Posts