Author Topic: spells.2da, TargetType not working  (Read 324 times)

Legacy_Lord Vendel

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
spells.2da, TargetType not working
« on: September 14, 2011, 03:13:17 pm »


               I use custom spells in hak/override. I want one of the spells to fire only for the PC, and thus I set "TargetType" column in "spells.2da" to 0x01.
However, when I test the spell, I can fire it on other creatures as well!
Can someone tell me what could be wrong here?
               
               

               
            

Legacy_The Amethyst Dragon

  • Hero Member
  • *****
  • Posts: 2981
  • Karma: +0/-0
spells.2da, TargetType not working
« Reply #1 on: September 14, 2011, 04:16:02 pm »


               In spells.2da, is the spell's range set to P (personal)?
               
               

               
            

Legacy_Lord Vendel

  • Newbie
  • *
  • Posts: 4
  • Karma: +0/-0
spells.2da, TargetType not working
« Reply #2 on: September 23, 2011, 12:28:46 pm »


               No. I tried setting range to P, but it did not help. You still have to "point" the use, and you can target other creatures, just have to be closer by.