Jump to content

CopyAppearance Script Help


senterpat

Recommended Posts

So, trying to make a relatively simply script, but having a few issues.

1. The player will copy the aliases appearance, but only if I call game.getplayer(), trying to use the property makes nothing happen, but I was under the impression the latter is faster, and they return the same data.

2 . The TempActor is not copying the players appearance, regardless of how I reference the player (property or game.getplayer()) The TempActor is just a blank slate essentially. Assigned in the quest as and object, pointing to the Actor data under NPC. Do I need to assign him as a reference alias as well?

I'm sure the issue lies in how I'm calling the TempActor, but if I can't use a reference or actorbase, and am at a bit of a loss.

Any advice is appreciated, or an alternate method to save the players appearance would be welcome.

Actor Property PlayerREF Auto Const mandatory

Actor Property TempActor Auto Const mandatory

Function Fragment_Phase_01_End()

TempActor.CopyAppearance(game.getplayer())

game.getplayer().CopyAppearance(PrimaryActorAlias.GetActorReference())
EndFunction

 

Link to comment
Share on other sites

If the script property of TempActor is filled and they're not a Leveled Character or have a Face Template, then TampActor.CopyAppearance(Game.GetPlayer()) should work on them. You can take a look at the vanilla Emissary or the Other Player scripts to see how the actor records and the scripts are constructed.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...