Difference between revisions of "User:Egocarib"

From the CreationKit Wiki
Jump to navigation Jump to search
imported>Egocarib
imported>Egocarib
Line 1: Line 1:


Some style and formatting tests...
<br>
<br>
<br>
<br>
Line 34: Line 33:
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0"|
|}
==Game Script: Global Functions ==
{|class="wikitable" width =100%
|-
|align="right" style="width: 3%; border-width: 1px 0 0 0"|
|style="border-width: 1px 0 0 0" colspan="2"|[[AddAchievement - Game|'''AddAchievement''']](Int ''aiAchievementID'')
|-
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0; width: 2%"|
|style="border-width: 0 0 1px 0"|Adds the specified achievement/trophy to the player's gamer profile.
|-
|align="right" style="width: 3%; border-width: 1px 0 0 0"|
|style="border-width: 1px 0 0 0" colspan="2"|[[AddPerkPoints - Game|'''AddPerkPoints''']](Int ''aiPerkPoints'')
|-
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0"|Adds the given number of perk points to the player. Clamped at 255.
|-
|align="right" style="width: 3%; border-width: 1px 0 0 0"|
|style="border-width: 1px 0 0 0" colspan="2"|[[AdvanceSkill - Game|'''AdvanceSkill''']](String ''asSkillName'', Float ''afMagnitude'')
|-
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0"|Advance the given skill on the player by the provided amount of skill usage
|-
|align="right" style="width: 3%; border-width: 1px 0 0 0"|
|style="border-width: 1px 0 0 0" colspan="2"|'''Bool''' [[AddHavokBallAndSocketConstraint - Game|'''AddHavokBallAndSocketConstraint''']](ObjectReference ''arRefA'', String ''arRefANode'', ObjectReference ''arRefB'', String ''arRefBNode'', Float ''afRefALocalOffsetX'', Float ''afRefALocalOffsetY'', Float ''afRefALocalOffsetZ'', Float ''afRefBLocalOffsetX'', Float ''afRefBLocalOffsetY'', Float ''afRefBLocalOffsetZ'')
|-
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0"|Adds a ball-and-socket constraint between two rigid bodies, identified by their ref and node names
|-
|align="right" style="border-width: 1px 0 0 0"|
|style="border-width: 1px 0 0 0" colspan="2"|'''Int''' [[CalculateFavorCost - Game|'''CalculateFavorCost''']](Int ''aiFavorPrice'')
|-
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0"|Calculates how many points the player would have to pay for a favor of the specified price.
|-
|align="right" style="border-width: 1px 0 0 0"|
|style="border-width: 1px 0 0 0" colspan="2"|[[ClearPrison - Game|'''ClearPrison'''()]]
|-
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0"|
|style="border-width: 0 0 1px 0"|Clears all Prison variables on the PlayerCharacter so the game will know he is out of prison.
|}
|}

Revision as of 01:12, 8 February 2014




Example Scripts

MCM Utility Scripts
Nifty things that can be used inside an MCM menu script.