Referencing Actors and fields in custom script

Announcements, support questions, and discussion for the Dialogue System.
annathehank
Posts: 95
Joined: Sun May 03, 2020 2:17 pm

Re: Referencing Actors and fields in custom script

Post by annathehank »

So I got the 'There is no registered transform for the actor named' alert.
Which means the connection between the script and the database is off somehow/where? Is there a field/setting in the Actor's tab on the manager I need to add or adjust?
annathehank
Posts: 95
Joined: Sun May 03, 2020 2:17 pm

Re: Referencing Actors and fields in custom script

Post by annathehank »

Funnily enough, the only one it *does* show for, is the one that is displaying the alert. So I need to suss out what is different about their actor tab or gameobject than the others....
annathehank
Posts: 95
Joined: Sun May 03, 2020 2:17 pm

Re: Referencing Actors and fields in custom script

Post by annathehank »

Yep! Figured it out :lol: The code was good all along, I had just not set the 'actor' field to the names in the Dialogue Actor component on each of them. Thank you for all your help!! <3
User avatar
Tony Li
Posts: 21986
Joined: Thu Jul 18, 2013 1:27 pm

Re: Referencing Actors and fields in custom script

Post by Tony Li »

Awesome! I'm glad you got it working! :-)
Post Reply