alonsomartinez Posted December 1, 2009 Share 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: Link to comment Share on other sites More sharing options...
Vagrant0 Posted December 1, 2009 Share 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. Link to comment Share on other sites More sharing options...
alonsomartinez Posted December 1, 2009 Author Share 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: Link to comment Share on other sites More sharing options...
Recommended Posts