Difference between revisions of "AddSpell"
Jump to navigation
Jump to search
m
bah, forgot to change my c'n'p again...
imported>DragoonWraith (get rid of those annoying messages!) |
imported>DragoonWraith m (bah, forgot to change my c'n'p again...) |
||
Line 32: | Line 32: | ||
*Using AddSpell to add a spell to the player's repertoire will give a message informing the player of this. In certain situations, this can be very annoying, but using a call to a blank [[Message]] just before using AddSpell will prevent this. Like so: | *Using AddSpell to add a spell to the player's repertoire will give a message informing the player of this. In certain situations, this can be very annoying, but using a call to a blank [[Message]] just before using AddSpell will prevent this. Like so: | ||
<pre>Message "" | <pre>Message "" | ||
player. | player.AddSpell "spell ID"</pre> | ||
*Like most functions, this one is a little different when used as a console command. When used as a console command the SpellID must be specified as a [[FormID]]. | *Like most functions, this one is a little different when used as a console command. When used as a console command the SpellID must be specified as a [[FormID]]. |