Difference between revisions of "User:Egocarib"
Jump to navigation
Jump to search
imported>Egocarib |
imported>Egocarib |
||
Line 1: | Line 1: | ||
Some style and formatting tests... | |||
<br> | |||
<br> | |||
<br> | |||
==Game Script: Global Functions == | ==Game Script: Global Functions == | ||
Revision as of 16:32, 9 November 2013
Some style and formatting tests...
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. |