SetCanCastPower
This article has been added to the Wiki by CSbot, an automated WikiBot. If you notice anything wrong with this page, please notify DragoonWraith, this bot's operator, by adding a comment to the end of User talk:DragoonWraith. If this article seems to be correct, then you can help the Wiki by removing this message, by editing this page and deleting the {{BotAddedPage}} template from the top of it. Thank you.
A function added by the Oblivion Script Extender.
Syntax:
(void) ref.SetCanCastPower spell:ref allowCasting:bool
Indicates whether the calling actor can cast the specified greater power. Passing 1 allows the actor to cast the power even if he has already used it within the past 24 hours. Passing 0 disallows the actor from casting the spell for the next 24 hours, unless the actor has already cast the power, in which case the power will become usable as normal 24 hours after the last casting.