Jump to content

NEED HELP with scripting


Recommended Posts

I want this ability to only do its thing whilst the character is in combat but i can't seem to find anything that works i've tried this setup which has worked for other abilitys i've made before.

 

Begin ScriptEffectUpdate
If Player.IsSneaking == 1
Player.addspell AAAKhajiit
Endif
Elseif Player.IsSneaking == 0
Player.removespell AAAKhajiit
Endif
end

 

but instead I want something like this

 

Begin ScriptEffectUpdate
If Player.IsCombat == 1
Player.addspell AAAWoodelf
Endif
Elseif Player.IsCombat == 0
Player.removespell AAAWoodelf
Endif
end

 

Which doesn't work as IsCombat isn't a thing so that's all I want to know and this will help for further things i'm doing.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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