Difference between revisions of "AddShout - Actor"
Jump to navigation
Jump to search
imported>Rhavlovick m (1 revision: Clobber re-import by Henning) |
imported>Sagitarius22 (→Notes) |
||
Line 24: | Line 24: | ||
</source> | </source> | ||
== | == Notes == | ||
Adding a shout to an NPC will cause your save to be corrupted and therefore crash when you will stop the game and reload it. |
Revision as of 18:11, 16 March 2012
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
bool Function AddShout(Shout akShout) native
Parameters
- akShout: The Shout to add to this actor.
Return Value
True on success.
Examples
; Adds the Call Storm shout to the player
if (Game.GetPlayer().AddShout(CallStormShout))
Debug.Trace("CallStorm Shout added to the player")
endIf
Notes
Adding a shout to an NPC will cause your save to be corrupted and therefore crash when you will stop the game and reload it.