Difference between revisions of "AddSPECIALPoints"

From the Fallout3 GECK Wiki
Jump to navigation Jump to search
imported>Geckbot
m (Robot: Automated text replacement (-\[\[Category:(.*?)\(GECK 1.0\)\]\] +Category:\1(GECK 1.1)))
imported>Yukichigai
 
(2 intermediate revisions by one other user 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==

Latest revision as of 04:34, 25 September 2013

< [[::Category:Functions|Category:Functions]]

A function included in the GECK version 1.1.0.36.

Description

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.

Syntax

[help]
AddSPECIALPoints iAddedPoints:int

Example

AddSPECIALPoints 7

Parameters

  • iAddedPoints: Total number of SPECIAL points to add.

Notes

  • 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