Difference between revisions of "Talk:OnSpellCast - ObjectReference"
TwilightSky (talk | contribs) |
|||
Line 6: | Line 6: | ||
A small remark considering the shouts note: this event has no problems with detecting shouted spells if a magic effect with the script is already active at the time of shouting; in this case a spell of a shout with any number of words is detected correctly. But if a magic effect with the script is becoming active with a shouting action (via the condition) - in this case there is a spell detection problem, described on IsPlayerActionActive [[Talk:IsPlayerActionActive|discussion page]]. --[[User:Ingvion|Ingvion]] ([[User talk:Ingvion|talk]]) 07:48, 13 July 2023 (EDT) | A small remark considering the shouts note: this event has no problems with detecting shouted spells if a magic effect with the script is already active at the time of shouting; in this case a spell of a shout with any number of words is detected correctly. But if a magic effect with the script is becoming active with a shouting action (via the condition) - in this case there is a spell detection problem, described on IsPlayerActionActive [[Talk:IsPlayerActionActive|discussion page]]. --[[User:Ingvion|Ingvion]] ([[User talk:Ingvion|talk]]) 07:48, 13 July 2023 (EDT) | ||
::Understood. I have reverted my change. --[[User:TwilightSky|TwilightSky]] ([[User talk:TwilightSky|talk]]) 12:32, 13 July 2023 (EDT) |
Latest revision as of 11:32, 13 July 2023
While not as 'dangerous' as OnHit - ObjectReference, this Event will fire for every spell cast by the player, and in theory with enough casting, could cause stack dumping. --Lisselli (talk)
This event also fires when casting from a scroll, but akSpell is always none no matter the casting type/delivery, or scrolls qty --Ingvion (talk) 21:51, 7 July 2023 (EDT)
- The parameter is type Form, so just as you have to cast form to spell you'll have to cast the form to scroll I think. --TwilightSky (talk) 10:28, 11 July 2023 (EDT)
A small remark considering the shouts note: this event has no problems with detecting shouted spells if a magic effect with the script is already active at the time of shouting; in this case a spell of a shout with any number of words is detected correctly. But if a magic effect with the script is becoming active with a shouting action (via the condition) - in this case there is a spell detection problem, described on IsPlayerActionActive discussion page. --Ingvion (talk) 07:48, 13 July 2023 (EDT)
- Understood. I have reverted my change. --TwilightSky (talk) 12:32, 13 July 2023 (EDT)