Difference between revisions of "AddSPECIALPoints"

327 bytes added ,  05:34, 25 September 2013
no edit summary
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)Functions\]\] +Category:\1Functions\nCategory:\1Functions (GECK 1.0)))
imported>Yukichigai
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
[[AddSPECIALPoints]] opens the CharGen menu to the Attributes page for distributing SPECIAL points.  It adds the given number of SPECIAL points to the character.  When the menu is in this state, the player cannot decrease their character's SPECIAL points past their base values.
{{Function
 
|origin = GECK1
==Syntax==
|summary = [[AddSPECIALPoints]] opens the CharGen menu to the Attributes page for distributing SPECIAL points.  It adds the given number of SPECIAL points to the character.  When the menu is in this state, the player cannot decrease their character's SPECIAL points past their base values.
 
|name = AddSPECIALPoints
  AddSPECIALPoints [''iAddedPoints'']
|returnType = void
|arguments =  
  {{FunctionArgument
  |Name = iAddedPoints
  |Type = int
  }}
  |example = AddSPECIALPoints 7
}}


==Parameters==
==Parameters==
Line 10: Line 17:
==Notes==
==Notes==
*This function is new in the GECK, and was not available in the TES4 Construction Set.
*This function is new in the GECK, and was not available in the TES4 Construction Set.
*Invoking this function when the player is incapable of spending all added points (e.g. "AddSPECIALPoints 1" when all stats are at 10) will render the menu unable to be exited.


==See Also==
==See Also==
Line 17: Line 25:


[[Category:Functions]]
[[Category:Functions]]
[[Category:Functions (GECK 1.0)]]
[[Category:Functions (GECK 1.1)]]
[[Category:Player Functions]]
[[Category:Player Functions]]
[[Category:Player Functions (GECK 1.0)]]
[[Category:Player Functions (GECK 1.1)]]
Anonymous user