Difference between revisions of "SetDescription"
Jump to navigation
Jump to search
imported>Saebel |
imported>Saebel |
||
Line 23: | Line 23: | ||
A specific example for modifying the description of a skill when achieving a mastery rank in that skill would be: | A specific example for modifying the description of a skill when achieving a mastery rank in that skill would be: | ||
{|SetDescription "Stepping softly, hiding in the shadows, you are like a freaking NINJA! Dang you are so sneaky! I shall bow down and call you Master" SkillSneak 3 ; Master | |||
{|SetDescription "Stepping softly, hiding in the shadows, you are like a freaking NINJA! Dang you are so sneaky! I shall bow down and call you Master" SkillSneak 3 ; Master|} | |||
Note the syntax of using SkillSneak (which is the skill details), not just Sneak (which is the actor value). | Note the syntax of using SkillSneak (which is the skill details), not just Sneak (which is the actor value). | ||
Revision as of 03:11, 25 October 2011
< [[::Category:Functions|Category:Functions]]
A function added by the Oblivion Script Extender.
Syntax:
(success:bool) reference.SetDescription description:string form:ref skillLevel:short
Modifies the text of a TESDescription (e.g. book, class, skill, skill level, etc). The modified description will be used for the remainder of the game session. To modify the text displayed when achieving a new level of mastery (Apprentice, Journeyman, etc) in a skill, pass the skill as the second argument and a skill level as the third, where skill level ranges from 0 (Apprentice) to 3 (Master).
A specific example for modifying the description of a skill when achieving a mastery rank in that skill would be:
Note the syntax of using SkillSneak (which is the skill details), not just Sneak (which is the actor value).