Difference between revisions of "SelectPlayerSpell"
Jump to navigation
Jump to search
imported>Maturin |
imported>DragoonWraith |
||
(6 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
'''Syntax:''' | '''Syntax:''' | ||
SelectPlayerSpell | SelectPlayerSpell ref:MagicItem | ||
Use to force the player to select the specified spell or scroll as her active magic. | Use to force the player to select the specified spell or scroll as his or her active magic. | ||
== Notes == | |||
* Using a non-magic item argument for this function causes this function to act as a [[Return]]. | |||
* If the player originally had an enchanted scroll selected and this function is used to force-select a spell, the player won't be able to select that scroll again until they change their spell (and if you look at the spell menu, they will seem to select both the original scroll and the new spell). You can get around this by selecting another enchanted scroll instead of a spell. | |||
== See Also == | |||
* [[GetPlayerSpell]] (OBSE) | |||
[[Category: Functions]] | [[Category: Functions]] | ||
[[Category:Functions (CS)]] | |||
[[Category: Functions (CS 1.0)]] | |||
[[Category: Magic Functions]] | [[Category: Magic Functions]] | ||
[[Category: Magic Functions (CS 1.0)]] | |||
<!-- Begin Search Terms | |||
Select | |||
Player | |||
Spell | |||
End Search Terms --> |
Latest revision as of 19:27, 22 May 2009
Syntax:
SelectPlayerSpell ref:MagicItem
Use to force the player to select the specified spell or scroll as his or her active magic.
Notes[edit | edit source]
- Using a non-magic item argument for this function causes this function to act as a Return.
- If the player originally had an enchanted scroll selected and this function is used to force-select a spell, the player won't be able to select that scroll again until they change their spell (and if you look at the spell menu, they will seem to select both the original scroll and the new spell). You can get around this by selecting another enchanted scroll instead of a spell.
See Also[edit | edit source]
- GetPlayerSpell (OBSE)