Difference between revisions of "GetOutfit - ActorBase"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(Added script example.)
imported>Qazaaq
(Added default parameter)
Line 10: Line 10:
== Parameters ==
== Parameters ==
*bSleepOutfit: Whether or not to return the actors sleeping [[Outfit]].
*bSleepOutfit: Whether or not to return the actors sleeping [[Outfit]].
**'''Default''': False


== Return Value ==
== Return Value ==

Revision as of 19:58, 19 April 2017

F4SE Member of: ActorBase Script

Returns this actors Outfit.

Syntax

Outfit Function GetOutfit(bool bSleepOutfit = false) Native

Parameters

  • bSleepOutfit: Whether or not to return the actors sleeping Outfit.
    • Default: False

Return Value

The Outfit for this actor.

Examples

Outfit myOutfit = Game.GetPlayer().GetActorBase().GetOutfit()
Debug.Trace(myOutfit)


Outfit mySleepOutfit = Game.GetPlayer().GetActorBase().GetOutfit(true)
Debug.Trace(mySleepOutfit)

Notes

None.

See Also