Skip to content

Instantly share code, notes, and snippets.

@Scrivener07
Created October 11, 2017 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Scrivener07/ecb201d8c8a02fc70a89465bf13223f3 to your computer and use it in GitHub Desktop.
Save Scrivener07/ecb201d8c8a02fc70a89465bf13223f3 to your computer and use it in GitHub Desktop.

[[Category:Scripting]] [[Category:Papyrus]] [[Category:Script Objects]] [[Category:F4SE]] '''Extends:''' [[ScriptObject Script|ScriptObject]]

Native script that provides body generation functions.

== Definition ==

Scriptname BodyGen Native Hidden

== Properties == None

== Global Functions == None

== F4SE Global Functions == *float Function [[GetMorph - BodyGen|GetMorph]](Actor akActor, bool isFemale, string morph, keyword akKeyword) **Returns the morph value for the given Actor. *Function [[SetMorph - BodyGen|SetMorph]](Actor akActor, bool isFemale, string morph, keyword akKeyword, float value) **Sets the morph value for the given Actor. *Function [[UpdateMorphs - BodyGen|UpdateMorphs]](Actor akActor) **Updates the morph values for the given Actor.

== Member Functions == None

== F4SE Member Functions == None

== Events == None

[[Category:Scripting]] [[Category:Papyrus]] [[Category:F4SE]] '''F4SE Member of:''' [[BodyGen Script]]

Returns the morph value for the given [[Actor]].

== Syntax ==

float Function GetMorph(Actor akActor, bool isFemale, string morph, keyword akKeyword) Global Native

== Parameters == *akActor: *isFemale: *morph: *akKeywordl:

== Return Value == The morph value for the [[Actor]].

== Examples ==

== Notes == None

== See Also == *[[HeadPart Script]]

[[Category:Scripting]] [[Category:Papyrus]] [[Category:F4SE]] '''F4SE Member of:''' [[BodyGen Script]]

Sets the morph value for the given [[Actor]].

== Syntax ==

Function SetMorph(Actor akActor, bool isFemale, string morph, keyword akKeyword, float value) Global Native

== Parameters == *akActor: *isFemale: *morph: *akKeywordl: *value:

== Return Value == None

== Examples ==

== Notes == None

== See Also == *[[HeadPart Script]]

[[Category:Scripting]] [[Category:Papyrus]] [[Category:F4SE]] '''F4SE Member of:''' [[BodyGen Script]]

Updates the morph values for the given [[Actor]].

== Syntax ==

Function UpdateMorphs(Actor akActor) Global Native

== Parameters == *akActor:

== Return Value == None

== Examples ==

== Notes == None

== See Also == *[[HeadPart Script]]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment