User:Egocarib
Revision as of 18:34, 2 November 2013 by imported>Egocarib (Created page with "==Game Script: Global Functions == {|class="wikitable" width =100% |- |align="right" style="width: 5%; border-width: 1px 0 0 0"| |style="border-width: 1px 0 0 0; width: 0.1%"...")
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. |