irswat Posted November 5, 2016 Share Posted November 5, 2016 A few questions:How do I check whether player has learned a spell via papyrus?How do I determine whether a spell is beneficent or not via script? ;Int Function GetSpellType(Spell akSpell ) Global Native ; Returns the type of the spell. IE Spell, Ability, Lesser Power, etc. ; 0 = spell, 2 = power, 3 = lesser power ;Int Function GetSpellCastType(Spell akSpell ) Global Native ; Returns the cast type, IE Concentration, fire forget, etc ; 1 = fire and forget, 2 = concentration, 0 = constant effect ;Int Function GetSpellDelivery(Spell akSpell ) Global Native ; returns the delivery ; 0 = self, 1 = Contact, 2 = aimed, 3 = Target Actor, 4 = target locationwhat is the difference between spells, powers, and lesser powers?what is constant effect? Link to comment Share on other sites More sharing options...
FrankFamily Posted November 5, 2016 Share Posted November 5, 2016 http://www.creationkit.com/index.php?title=IsHostile_-_Spellhttp://www.creationkit.com/index.php?title=HasSpell_-_Actor A constant spell is for example the enchantments on armor, passive abilities, etc Link to comment Share on other sites More sharing options...
irswat Posted November 5, 2016 Author Share Posted November 5, 2016 thanks FF Link to comment Share on other sites More sharing options...
Recommended Posts