imported>Quetzilla |
imported>Wrye |
Line 10: |
Line 10: |
| Addspell WeirdAbility | | Addspell WeirdAbility |
| Endif | | Endif |
|
| |
| ==Notes==
| |
|
| |
| *Using RemoveSpell to remove a spell to the player's repertoire will give a message informing the player of this. In many situations, this is very annoying, but you can use a pair of blank [[Message]] calls to prevent it from happening, like so:
| |
| <pre>Message " "
| |
| Message " "
| |
| player.RemoveSpell "spell ID"</pre>
| |
| *This seems to shortcircuit the message display and will prevent any other messages from being queued or displayed for a couple of seconds, so please use it only if you are sure no other messages will be disrupted, or you would create a lot of message spam otherwise.
| |
| *OBSE 0015 provides [[RemoveSpellNS]] which works exactly the same as RemoveSpell but without displaying any messages.
| |
|
| |
|
| ==See Also== | | ==See Also== |
| * [[RemoveSpellNS]] | | * [[RemoveSpellNS]] - Spamless version of command (OBSE 15). |
| * [[AddSpell]] | | * [[AddSpell]] |
| * [[Preventing messages]] | | * [[Message Spam]] - Avoiding it. |
|
| |
|
| [[Category: Functions]] | | [[Category: Functions]] |