Difference between revisions of "List of Papyrus Functions"

Jump to navigation Jump to search
779 bytes added ,  03:37, 2 December 2021
→‎C: adding return types
(→‎C: adding return types)
Line 250: Line 250:
| '''[[CalculateEncounterLevel - ObjectReference|CalculateEncounterLevel]]'''
| '''[[CalculateEncounterLevel - ObjectReference|CalculateEncounterLevel]]'''
| [[ObjectReference Script|'''ObjectReference''']]
| [[ObjectReference Script|'''ObjectReference''']]
|
|Int
|   
|   
|-  
|-  
Line 256: Line 256:
| '''[[CalculateFavorCost - Game|CalculateFavorCost]]'''
| '''[[CalculateFavorCost - Game|CalculateFavorCost]]'''
| [[Game Script|'''Game''']]
| [[Game Script|'''Game''']]
|
|Int
|   
|   
|-  
|-  
Line 299: Line 299:
|'''[[CaptureFrameRate - Utility|CaptureFrameRate]]'''
|'''[[CaptureFrameRate - Utility|CaptureFrameRate]]'''
|[[Utility Script|'''Utility''']]
|[[Utility Script|'''Utility''']]
|
|String
|
|
|-  
|-  
Line 305: Line 305:
| '''[[Cast - Scroll|Cast]]'''
| '''[[Cast - Scroll|Cast]]'''
| '''[[Scroll Script|Scroll]]'''
| '''[[Scroll Script|Scroll]]'''
|
| -
|
|
|-  
|-  
Line 311: Line 311:
| '''[[Cast - Spell|Cast]]'''
| '''[[Cast - Spell|Cast]]'''
| '''[[Spell Script|Spell]]'''
| '''[[Spell Script|Spell]]'''
|
| -
|
|
|-  
|-  
Line 317: Line 317:
| '''[[Ceiling - Math|Ceiling]]'''
| '''[[Ceiling - Math|Ceiling]]'''
| [[Math Script|'''Math''']]
| [[Math Script|'''Math''']]
|
|Int
|
|
|-  
|-  
Line 323: Line 323:
| '''[[CenterOnCell - Debug|CenterOnCell]]'''
| '''[[CenterOnCell - Debug|CenterOnCell]]'''
| '''[[Debug Script|Debug]]'''
| '''[[Debug Script|Debug]]'''
|
| -
|
|
|-  
|-  
Line 329: Line 329:
| '''[[CenterOnCellAndWait - Debug|CenterOnCellAndWait]]'''
| '''[[CenterOnCellAndWait - Debug|CenterOnCellAndWait]]'''
| [[Debug Script|'''Debug''']]
| [[Debug Script|'''Debug''']]
|
| -
|
|
|-  
|-  
Line 335: Line 335:
| '''[[ChangeHeadPart - Actor|ChangeHeadPart]]'''<sup>SKSE</sup>
| '''[[ChangeHeadPart - Actor|ChangeHeadPart]]'''<sup>SKSE</sup>
| [[Actor Script|'''Actor''']]
| [[Actor Script|'''Actor''']]
|
| -
|
|
|-  
|-  
Line 341: Line 341:
| '''[[Clear - LocationAlias|Clear]]'''
| '''[[Clear - LocationAlias|Clear]]'''
| '''[[LocationAlias Script|LocationAlias]]'''
| '''[[LocationAlias Script|LocationAlias]]'''
|
| -
|
|
|-  
|-  
Line 347: Line 347:
| '''[[Clear - ReferenceAlias|Clear]]'''
| '''[[Clear - ReferenceAlias|Clear]]'''
| '''[[ReferenceAlias Script|ReferenceAlias]]'''
| '''[[ReferenceAlias Script|ReferenceAlias]]'''
|
| -
|
|
|-
|-
|'''[[ClearAllowPCDialogue - Race|ClearAllowPCDialogue]]'''<sup>SKSE</sup>
|'''[[ClearAllowPCDialogue - Race|ClearAllowPCDialogue]]'''<sup>SKSE</sup>
|'''[[Race Script|Race]]'''
|'''[[Race Script|Race]]'''
|
| -
|
|
|-
|-
|'''[[ClearAllowPickpocket - Race|ClearAllowPickpocket]]'''<sup>SKSE</sup>
|'''[[ClearAllowPickpocket - Race|ClearAllowPickpocket]]'''<sup>SKSE</sup>
|'''[[Race Script|Race]]'''
|'''[[Race Script|Race]]'''
|
| -
|
|
|-  
|-  
Line 363: Line 363:
| '''[[ClearArrested - Actor|ClearArrested]]'''
| '''[[ClearArrested - Actor|ClearArrested]]'''
| [[Actor Script|'''Actor''']]
| [[Actor Script|'''Actor''']]
|
| -
|
|
|-
|-
|'''[[ClearAvoidsRoads - Race|ClearAvoidsRoads]]'''<sup>SKSE</sup>
|'''[[ClearAvoidsRoads - Race|ClearAvoidsRoads]]'''<sup>SKSE</sup>
|'''[[Race Script|Race]]'''
|'''[[Race Script|Race]]'''
|
| -
|
|
|-
|-
|'''[[ClearCantOpenDoors - Race|ClearCantOpenDoors]]'''<sup>SKSE</sup>
|'''[[ClearCantOpenDoors - Race|ClearCantOpenDoors]]'''<sup>SKSE</sup>
|'''[[Race Script|Race]]'''
|'''[[Race Script|Race]]'''
|
| -
|
|
|-  
|-  
Line 379: Line 379:
| '''[[ClearDestruction - ObjectReference|ClearDestruction]]'''
| '''[[ClearDestruction - ObjectReference|ClearDestruction]]'''
| [[ObjectReference Script|'''ObjectReference''']]
| [[ObjectReference Script|'''ObjectReference''']]
|
|<nowiki>-</nowiki>
|
|
|-  
|-  
Line 385: Line 385:
| '''[[ClearExpressionOverride - Actor|ClearExpressionOverride]]'''
| '''[[ClearExpressionOverride - Actor|ClearExpressionOverride]]'''
| [[Actor Script|'''Actor''']]
| [[Actor Script|'''Actor''']]
|
| -
|
|
|-  
|-  
Line 391: Line 391:
| '''[[ClearExtraArrows - Actor|ClearExtraArrows]]'''
| '''[[ClearExtraArrows - Actor|ClearExtraArrows]]'''
| [[Actor Script|'''Actor''']]
| [[Actor Script|'''Actor''']]
|
| -
|
|
|-  
|-  
Line 397: Line 397:
| '''[[ClearForcedLandingMarker - Actor|ClearForcedLandingMarker]]'''
| '''[[ClearForcedLandingMarker - Actor|ClearForcedLandingMarker]]'''
| [[Actor Script|'''Actor''']]
| [[Actor Script|'''Actor''']]
|
| -
|
|
|-  
|-  
Line 403: Line 403:
| '''[[ClearKeepOffsetFromActor - Actor|ClearKeepOffsetFromActor]]'''
| '''[[ClearKeepOffsetFromActor - Actor|ClearKeepOffsetFromActor]]'''
| [[Actor Script|'''Actor''']]
| [[Actor Script|'''Actor''']]
|
| -
|
|
|-  
|-  
Line 409: Line 409:
| '''[[ClearLookAt - Actor|ClearLookAt]]'''
| '''[[ClearLookAt - Actor|ClearLookAt]]'''
| [[Actor Script|'''Actor''']]
| [[Actor Script|'''Actor''']]
|
| -
|
|
|-
|-
|'''[[ClearNoCombatInWater - Race|ClearNoCombatInWater]]'''<sup>SKSE</sup>
|'''[[ClearNoCombatInWater - Race|ClearNoCombatInWater]]'''<sup>SKSE</sup>
|'''[[Race Script|Race]]'''
|'''[[Race Script|Race]]'''
|
| -
|
|
|-
|-
|'''[[ClearNoKNockdowns - Race|ClearNoKnockdowns]]'''<sup>SKSE</sup>
|'''[[ClearNoKNockdowns - Race|ClearNoKnockdowns]]'''<sup>SKSE</sup>
|'''[[Race Script|Race]]'''
|'''[[Race Script|Race]]'''
|
| -
|
|
|-
|-
|'''[[ClearNoShadows - Race|ClearNoShadows]]'''<sup>SKSE</sup>
|'''[[ClearNoShadows - Race|ClearNoShadows]]'''<sup>SKSE</sup>
|'''[[Race Script|Race]]'''
|'''[[Race Script|Race]]'''
|
| -
|
|
|-  
|-  
Line 430: Line 430:
| '''[[ClearPrison - Game|ClearPrison]]'''
| '''[[ClearPrison - Game|ClearPrison]]'''
| [[Game Script|'''Game''']]
| [[Game Script|'''Game''']]
|
| -
|
|
|-  
|-  
Line 436: Line 436:
| '''[[ClearRaceFlag - Race|ClearRaceFlag]]'''<sup>SKSE</sup>
| '''[[ClearRaceFlag - Race|ClearRaceFlag]]'''<sup>SKSE</sup>
| '''[[Race Script|Race]]'''
| '''[[Race Script|Race]]'''
|
| -
|
|
|-  
|-  
Line 442: Line 442:
| '''[[ClearTempEffects - Game|ClearTempEffects]]'''
| '''[[ClearTempEffects - Game|ClearTempEffects]]'''
| [[Game Script|'''Game''']]
| [[Game Script|'''Game''']]
|
| -
|
|
|-
|-
|[[CloseCustomMenu - UI|'''CloseCustomMenu''']]<sup>SKSE</sup>
|[[CloseCustomMenu - UI|'''CloseCustomMenu''']]<sup>SKSE</sup>
|'''[[UI Script|UI]]'''
|'''[[UI Script|UI]]'''
|
| -
|
|
|-  
|-  
Line 453: Line 453:
| '''[[CloseUserLog - Debug|CloseUserLog]]'''
| '''[[CloseUserLog - Debug|CloseUserLog]]'''
| [[Debug Script|'''Debug''']]
| [[Debug Script|'''Debug''']]
|
| -
|
|
|-  
|-  
Line 459: Line 459:
| '''[[CompleteAllObjectives - Quest|CompleteAllObjectives]]'''
| '''[[CompleteAllObjectives - Quest|CompleteAllObjectives]]'''
| '''[[Quest Script|Quest]]'''
| '''[[Quest Script|Quest]]'''
|
| -
|
|
|-  
|-  
Line 465: Line 465:
| '''[[CompleteQuest - Quest|CompleteQuest]]'''
| '''[[CompleteQuest - Quest|CompleteQuest]]'''
| [[Quest Script|'''Quest''']]
| [[Quest Script|'''Quest''']]
|
| -
|
|
|-  
|-  
Line 471: Line 471:
| '''[[Cos - Math|Cos]]'''
| '''[[Cos - Math|Cos]]'''
| [[Math Script|'''Math''']]
| [[Math Script|'''Math''']]
|
|Float
|
|
|-  
|-  
Line 477: Line 477:
| '''[[CountLinkedRefChain - ObjectReference|CountLinkedRefChain]]'''
| '''[[CountLinkedRefChain - ObjectReference|CountLinkedRefChain]]'''
| [[ObjectReference Script|'''ObjectReference''']]
| [[ObjectReference Script|'''ObjectReference''']]
|Int
|
|
|-
|'''[[Create - ModEvent|Create]]'''<sup>SKSE</sup>
|'''[[ModEvent Script|ModEvent]]'''
|Int
|
|-
|'''[[Create - SpawnerTask|Create]]'''<sup>SKSE</sup>
|'''[[SpawnerTask Script|SpawnerTask]]'''
|Int
|
|
|-
|-
|'''[[Create - UICallback|Create]]'''<sup>SKSE</sup>
|'''[[Create - UICallback|Create]]'''<sup>SKSE</sup>
|'''[[UICallback Script|UICallback]]'''
|'''[[UICallback Script|UICallback]]'''
|
|Int
|
|
|-
|-
|'''[[CreateAliasArray - Utility|CreateAliasArray]]'''<sup>SKSE</sup>
|'''[[CreateAliasArray - Utility|CreateAliasArray]]'''<sup>SKSE</sup>
|'''[[Utility Script|Utility]]'''
|'''[[Utility Script|Utility]]'''
|
|Alias[]
|
|
|-
|-
|'''[[CreateBoolArray - Utility|CreateBoolArray]]'''<sup>SKSE</sup>
|'''[[CreateBoolArray - Utility|CreateBoolArray]]'''<sup>SKSE</sup>
|'''[[Utility Script|Utility]]'''
|'''[[Utility Script|Utility]]'''
|
|Bool[]
|
|
|-  
|-  
Line 498: Line 508:
| '''[[CreateDetectionEvent - ObjectReference|CreateDetectionEvent]]'''
| '''[[CreateDetectionEvent - ObjectReference|CreateDetectionEvent]]'''
| [[ObjectReference Script|'''ObjectReference''']]
| [[ObjectReference Script|'''ObjectReference''']]
| -
|
|
|-
|'''[[CreateEnchantment - ObjectReference|CreateEnchantment]]'''<sup>SKSE</sup>
|[[ObjectReference Script|'''ObjectReference''']]
| -
|
|-
|'''[[CreateEnchantment - WornObject|CreateEnchantment]]'''<sup>SKSE</sup>
|[[WornObject Script|'''WornObject''']]
| -
|
|
|-
|-
|'''[[CreateFloatArray - Utility|CreateFloatArray]]'''<sup>SKSE</sup>
|'''[[CreateFloatArray - Utility|CreateFloatArray]]'''<sup>SKSE</sup>
|'''[[Utility Script|Utility]]'''
|'''[[Utility Script|Utility]]'''
|
|Float[]
|
|
|-
|-
|'''[[CreateFormArray - Utility|CreateFormArray]]'''<sup>SKSE</sup>
|'''[[CreateFormArray - Utility|CreateFormArray]]'''<sup>SKSE</sup>
|'''[[Utility Script|Utility]]'''
|'''[[Utility Script|Utility]]'''
|
|Form[]
|
|
|-
|-
|'''[[CreateIntArray - Utility|CreateIntArray]]'''<sup>SKSE</sup>
|'''[[CreateIntArray - Utility|CreateIntArray]]'''<sup>SKSE</sup>
|'''[[Utility Script|Utility]]'''
|'''[[Utility Script|Utility]]'''
|
|Int[]
|
|
|-
|-
|'''[[CreateStringArray - Utility|CreateStringArray]]'''<sup>SKSE</sup>
|'''[[CreateStringArray - Utility|CreateStringArray]]'''<sup>SKSE</sup>
|'''[[Utility Script|Utility]]'''
|'''[[Utility Script|Utility]]'''
|
|String[]
|
|
|-  
|-  
Line 529: Line 549:
!align=left width=170|Function  
!align=left width=170|Function  
!align=left width=90|Member of  
!align=left width=90|Member of  
!Return
!align=left class="unsortable"|Description  
!align=left class="unsortable"|Description  
|-
|-
| '''[[DamageActorValue - Actor|DamageActorValue]]'''
| '''[[DamageActorValue - Actor|DamageActorValue]]'''
| [[Actor Script|'''Actor''']]
| [[Actor Script|'''Actor''']]
| -
|   
|   
|-
|'''[[DamageActorValue - Actor|DamageAV]]'''
|[[Actor Script|'''Actor''']]
| -
|alias for DamageActorValue
|-  
|-  
   
   
| '''[[DamageObject - ObjectReference|DamageObject]]'''
| '''[[DamageObject - ObjectReference|DamageObject]]'''
| [[ObjectReference Script|'''ObjectReference''']]
| [[ObjectReference Script|'''ObjectReference''']]
|
| -
|
|-  
|-  
   
   
| '''[[DegreesToRadians - Math|DegreesToRadians]]'''
| '''[[DegreesToRadians - Math|DegreesToRadians]]'''
| [[Math Script|'''Math''']]
| [[Math Script|'''Math''']]
|
|Float
|
|-  
|-  
   
   
| '''[[Delete - ObjectReference|Delete]]'''
| '''[[Delete - ObjectReference|Delete]]'''
| '''[[ObjectReference Script|ObjectReference]]'''
| '''[[ObjectReference Script|ObjectReference]]'''
|
| -
|
|-  
|-  
   
   
| '''[[DeleteWhenAble - ObjectReference|DeleteWhenAble]]'''
| '''[[DeleteWhenAble - ObjectReference|DeleteWhenAble]]'''
| [[ObjectReference Script|'''ObjectReference''']]
| [[ObjectReference Script|'''ObjectReference''']]
|
| -
|
|-  
|-  
   
   
| '''[[Disable - ObjectReference|Disable]]'''
| '''[[Disable - ObjectReference|Disable]]'''
| [[ObjectReference Script|'''ObjectReference''']]
| [[ObjectReference Script|'''ObjectReference''']]
|
| -
|
|-  
|-  
   
   
| '''[[DisableLinkChain - ObjectReference|DisableLinkChain]]'''
| '''[[DisableLinkChain - ObjectReference|DisableLinkChain]]'''
| [[ObjectReference Script|'''ObjectReference''']]
| [[ObjectReference Script|'''ObjectReference''']]
|
| -
|
|-  
|-  
   
   
| '''[[DisableNoWait - ObjectReference|DisableNoWait]]'''
| '''[[DisableNoWait - ObjectReference|DisableNoWait]]'''
| [[ObjectReference Script|'''ObjectReference''']]
| [[ObjectReference Script|'''ObjectReference''']]
|
| -
|
|-  
|-  
   
   
| '''[[DisablePlayerControls - Game|DisablePlayerControls]]'''
| '''[[DisablePlayerControls - Game|DisablePlayerControls]]'''
| [[Game Script|'''Game''']]
| [[Game Script|'''Game''']]
|
| -
|
|-  
|-  
   
   
| '''[[Dismount - Actor|Dismount]]'''
| '''[[Dismount - Actor|Dismount]]'''
| [[Actor Script|'''Actor''']]
| [[Actor Script|'''Actor''']]
|
|Bool
|
|-  
|-  
   
   
| '''[[Dispel - ActiveMagicEffect|Dispel]]'''
| '''[[Dispel - ActiveMagicEffect|Dispel]]'''
| [[ActiveMagicEffect Script|'''ActiveMagicEffect''']]
| [[ActiveMagicEffect Script|'''ActiveMagicEffect''']]
|
| -
|
|-  
|-  
   
   
| '''[[DispelAllSpells - Actor|DispelAllSpells]]'''
| '''[[DispelAllSpells - Actor|DispelAllSpells]]'''
| [[Actor Script|'''Actor''']]
| [[Actor Script|'''Actor''']]
|
| -
|
|-  
|-  
   
   
| '''[[DispelSpell - Actor|DispelSpell]]'''
| '''[[DispelSpell - Actor|DispelSpell]]'''
| [[Actor Script|'''Actor''']]
| [[Actor Script|'''Actor''']]
|
|Bool
|
|-  
|-  
   
   
| '''[[DoCombatSpellApply - Actor|DoCombatSpellApply]]'''
| '''[[DoCombatSpellApply - Actor|DoCombatSpellApply]]'''
| [[Actor Script|'''Actor''']]
| [[Actor Script|'''Actor''']]
|
| -
|
|-  
|-  
   
   
| '''[[DrawWeapon - Actor|DrawWeapon]]'''
| '''[[DrawWeapon - Actor|DrawWeapon]]'''
| [[Actor Script|'''Actor''']]
| [[Actor Script|'''Actor''']]
|
| -
|
|-  
|-  
   
   
| '''[[DropObject - ObjectReference|DropObject]]'''
| '''[[DropObject - ObjectReference|DropObject]]'''
| [[ObjectReference Script|'''ObjectReference''']]
| [[ObjectReference Script|'''ObjectReference''']]
|
|ObjectReference
|
|-  
|-  
   
   
| '''[[DumpAliasData - Debug|DumpAliasData]]'''
| '''[[DumpAliasData - Debug|DumpAliasData]]'''
| [[Debug Script|'''Debug''']]
| [[Debug Script|'''Debug''']]
|
| -
|
|-  
|-  
   
   
149

edits

Navigation menu