why would I use GetBaseActor instead of GetLeveledBAseActor

Post » Sat Nov 17, 2012 3:27 am

sooo....from the wiki:



GetLeveledActorBase - Actor


Member of: http://www.creationkit.com/Actor_Script


Gets the temporary http://www.creationkit.com/ActorBase_Script of a leveled http://www.creationkit.com/Actor_Script - the one generated by the game from the leveled list. If the actor is not leveled, it will simply return the base object shown in the editor.


Why would I ever use GetBaseActor if the above will do BOTH jobs and I do not need to try to detect if the actor is from a leveled list or not?
User avatar
CHangohh BOyy
 
Posts: 3462
Joined: Mon Aug 20, 2007 12:12 pm

Post » Sat Nov 17, 2012 7:43 am

Well I replaced all my calls to GetBaseActor with GetLeveledActorBase in all my scripts. So far it seems to be working as I predicted.
User avatar
Becky Palmer
 
Posts: 3387
Joined: Wed Oct 04, 2006 4:43 am

Post » Fri Nov 16, 2012 4:30 pm

mmm...several of my scripts were using:

(TheActorRef.getbaseobject) as actor *

instead of GetActorBase, I wonder if that is the SAME as GetLeveledActorBase ?


* on advice by a SKSE team member when he was helping me with one of the SKSE functions.
User avatar
Tarka
 
Posts: 3430
Joined: Sun Jun 10, 2007 9:22 pm


Return to V - Skyrim