GetClass - ActorBase

From Creation Kit
Jump to: navigation, search

Member of: ActorBase Script

Obtains this actor's Class.

Syntax

Class Function GetClass() native

Parameters

None.

Return Value

The Class the actor is.

Examples

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

See Also