Jump to content

[Script] Can't get to Play() from Actor


Recommended Posts

Posted

From Papyrus log I got that GetActorRef() and GetRef() are returning the same thing. Both return the RefId of the actor, I believe that the BaseId should be sent to the play function.

 

I wonder why GetVoiceType() returns correctly but my If conditions don't work.

Posted

GetActorRef and GetRef should return the same thing. One is simply cast as an actor while the other is cast as an object reference. However the Wiki says that Play takes an object reference parameter and I don't think that a base reference makes much sense, since the whole point is to tell the function what object in the world the sound is originating from.

Posted

Got it, but I still don't understand why I can't use it. I tried using SKSE function GetName() and it always returns Bard rather than the real name, maybe this is already showing that there's a problem, or GetName just get the Alias name.

  • Recently Browsing   0 members

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