1,482
edits
imported>Egocarib (updated note based on more testing) |
m (Convert source tags to syntaxhighlight) |
||
| Line 6: | Line 6: | ||
== Syntax == | == Syntax == | ||
< | <syntaxhighlight lang="papyrus"> | ||
bool Function RemoveSpell(Spell akSpell) native | bool Function RemoveSpell(Spell akSpell) native | ||
</ | </syntaxhighlight> | ||
== Parameters == | == Parameters == | ||
| Line 17: | Line 17: | ||
== Examples == | == Examples == | ||
< | <syntaxhighlight lang="papyrus"> | ||
; Removes the sheep spell from the player | ; Removes the sheep spell from the player | ||
if (Game.GetPlayer().RemoveSpell(SheepSpellProperty)) | if (Game.GetPlayer().RemoveSpell(SheepSpellProperty)) | ||
Debug.Trace("Sheep spell removed from the player") | Debug.Trace("Sheep spell removed from the player") | ||
endIf | endIf | ||
</ | </syntaxhighlight> | ||
== Note == | == Note == | ||