Difference between revisions of "GetOutfit - ActorBase"

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search
imported>Qazaaq
(Added default parameter)
imported>Qazaaq
m (Changed parameter description.)
Line 1: Line 1:
'''F4SE Member of:''' [[ActorBase Script]]
'''F4SE Member of:''' [[ActorBase Script]]


Returns this actors [[Outfit]].
Returns this actors default or sleeping [[Outfit]].


== Syntax ==
== Syntax ==
Line 9: Line 9:


== Parameters ==
== Parameters ==
*bSleepOutfit: Whether or not to return the actors sleeping [[Outfit]].
*bSleepOutfit: Whether or not to return the actors sleep outfit.
**'''Default''': False
**'''Default''': False



Revision as of 20:04, 19 April 2017

F4SE Member of: ActorBase Script

Returns this actors default or sleeping Outfit.

Syntax

Outfit Function GetOutfit(bool bSleepOutfit = false) Native

Parameters

  • bSleepOutfit: Whether or not to return the actors sleep 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