Difference between revisions of "SetCanCastPower"
Jump to navigation
Jump to search
imported>CSbot (Automated import of articles) |
imported>DragoonWraith |
||
Line 1: | Line 1: | ||
{{Function | {{Function | ||
| origin = OBSE | | origin = OBSE |
Latest revision as of 22:36, 8 August 2010
< [[::Category:Functions|Category:Functions]]
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.