GetClass - ActorBase

From the Fallout4 CreationKit Wiki
Revision as of 15:26, 18 October 2011 by imported>Vitamant (1 revision: Clobber re-import by Henning)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Member of: ActorBase Script

Obtains this actor's Class.

Syntax[edit | edit source]

Class Function GetClass() native

Parameters[edit | edit source]

None.

Return Value[edit | edit source]

The Class the actor is.

Examples[edit | edit source]

; Get the class that the player is
ActorBase PlayerBase = Game.GetPlayer().GetBaseObject() as ActorBase
Class PlayerClass = PlayerBase.GetClass()

See Also[edit | edit source]