From the CreationKit Wiki
Revision as of 19:47, 2 November 2013 by imported>Egocarib
Jump to navigation
Jump to search
Game Script: Global Functions
|
|
AddAchievement(Int aiAchievementID)
|
|
|
Adds the specified achievement/trophy to the player's gamer profile.
|
|
|
AddPerkPoints(Int aiPerkPoints)
|
|
|
Adds the given number of perk points to the player. Clamped at 255.
|
|
|
AdvanceSkill(String asSkillName, Float afMagnitude)
|
|
|
Advance the given skill on the player by the provided amount of skill usage
|
Bool
|
|
AddHavokBallAndSocketConstraint(ObjectReference arRefA, String arRefANode, ObjectReference arRefB, String arRefBNode, Float afRefALocalOffsetX, Float afRefALocalOffsetY, Float afRefALocalOffsetZ, Float afRefBLocalOffsetX, Float afRefBLocalOffsetY, Float afRefBLocalOffsetZ)
|
|
|
Adds a ball-and-socket constraint between two rigid bodies, identified by their ref and node names
|
Int
|
|
CalculateFavorCost(Int aiFavorPrice)
|
|
|
Calculates how many points the player would have to pay for a favor of the specified price.
|
|
|
ClearPrison()
|
|
|
Clears all Prison variables on the PlayerCharacter so the game will know he is out of prison.
|
Game Script: Global Functions
|
AddAchievement(Int aiAchievementID)
|
|
|
Adds the specified achievement/trophy to the player's gamer profile.
|
|
AddPerkPoints(Int aiPerkPoints)
|
|
|
Adds the given number of perk points to the player. Clamped at 255.
|
|
AdvanceSkill(String asSkillName, Float afMagnitude)
|
|
|
Advance the given skill on the player by the provided amount of skill usage
|
|
Bool AddHavokBallAndSocketConstraint(ObjectReference arRefA, String arRefANode, ObjectReference arRefB, String arRefBNode, Float afRefALocalOffsetX, Float afRefALocalOffsetY, Float afRefALocalOffsetZ, Float afRefBLocalOffsetX, Float afRefBLocalOffsetY, Float afRefBLocalOffsetZ)
|
|
|
Adds a ball-and-socket constraint between two rigid bodies, identified by their ref and node names
|
|
Int CalculateFavorCost(Int aiFavorPrice)
|
|
|
Calculates how many points the player would have to pay for a favor of the specified price.
|
|
ClearPrison()
|
|
|
Clears all Prison variables on the PlayerCharacter so the game will know he is out of prison.
|