Jump to content

script for an npc to use bound sword


WeerW3ir

Recommended Posts

can somebody help me with it? i do think i have the code for it. and i have created it. but what do i need to change to use that exact magickal ability?

 

Scriptname AurFighting extends Actor

spell property AuBoundSwordSP auto

event OnCombatStateChanged(Actor akTarget, int aeCombatState)
if(aeCombatState==1)
AurBoundSwordSP.Cast(self, self)
endif
endevent

 

i added this and well. my npc still not using the ability?

what did i do wrong? im kinda noob for the scripting. and this would be my first.

 

this is the original:

Scriptname BoundWeaponCombat extends Actor
spell property boundweapon auto
event OnCombatStateChanged(Actor akTarget, int aeCombatState)
if(aeCombatState==1)
boundweapon.Cast(self, self)
endif
endevent
Edited by WeerW3ir
Link to comment
Share on other sites

  • Recently Browsing   0 members

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