Jump to content

Photo

script for an npc to use bound sword

scripting bound sword help code

  • Please log in to reply
2 replies to this topic

#1
WeerW3ir

WeerW3ir

    Fan

  • Premium Member
  • 417 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, 21 November 2021 - 11:28 PM.


#2
HeyYou

HeyYou

    Resident poster

  • Supporter
  • PipPipPipPipPip
  • 12,432 posts

Some falmer use bound weapons.... No idea how that was accomplished, but, might be worth taking a peek at.



#3
WeerW3ir

WeerW3ir

    Fan

  • Premium Member
  • 417 posts

Some falmer use bound weapons.... No idea how that was accomplished, but, might be worth taking a peek at.


I tried that already. Not working. This is why i need the script.





Also tagged with one or more of these keywords: scripting, bound sword, help, code

IPB skins by Skinbox
Page loaded in: 1.059 seconds