Andzz Posted October 14, 2014 Author Posted October 14, 2014 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.
lofgren Posted October 14, 2014 Posted October 14, 2014 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.
Andzz Posted October 15, 2014 Author Posted October 15, 2014 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.
Recommended Posts