Difference between revisions of "SetClass - ActorBase"
Jump to navigation
Jump to search
imported>Sagitarius22 (Created page with "Category:Scripting Category:Papyrus Category:SKSE '''SKSE Member of:''' ActorBase Script Set the class of this actor. (This function requires SKSE) == Syntax...") |
(No difference)
|
Revision as of 08:31, 4 June 2012
SKSE Member of: ActorBase Script
Set the class of this actor. (This function requires SKSE)
Syntax
Function SetClass(Class c) native
Parameters
- Class: the new class for this Actor.
Return Value
None.
Notes
- This is a function performed on an ActorBase, meaning all Actors derived from this will have this class.
Examples
Class Property Berserker Auto
ActorBase pActorBase = Game.GetPlayer().GetActorBase()
pActorBase.SetClass(Berserker)