Difference between revisions of "AddShout - Actor"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Sagitarius22
imported>Excelsior2000
 
(3 intermediate revisions by the same user not shown)
Line 27: Line 27:


Adding a shout to an NPC will cause your save to be corrupted and therefore crash when you will exit the game and reload it.
Adding a shout to an NPC will cause your save to be corrupted and therefore crash when you will exit the game and reload it.


== See Also ==
== See Also ==
*[[Actor Script]]
*[[Actor Script]]
*[[RemoveShout - Actor]]
*[[RemoveShout - Actor]]

Latest revision as of 05:01, 27 June 2015

Member of: Actor Script

Adds the specified shout to this actor. Does not teach or unlock any of the words in the shout. This function is also silent -- there are no Story Manager or statistics tracking events fired.

Syntax[edit | edit source]

bool Function AddShout(Shout akShout) native

Parameters[edit | edit source]

  • akShout: The Shout to add to this actor.

Return Value[edit | edit source]

True on success.

Examples[edit | edit source]

; Adds the Call Storm shout to the player
if (Game.GetPlayer().AddShout(CallStormShout))
  Debug.Trace("CallStorm Shout added to the player")
endIf

Notes[edit | edit source]

Adding a shout to an NPC will cause your save to be corrupted and therefore crash when you will exit the game and reload it.


See Also[edit | edit source]