Get NameColor

Using Naninovel C# APIs: adding custom actor implementations or commands, overriding engine services, integrating with other systems, etc.
Post Reply
Nylleth
Posts: 2
Joined: 24 Feb 2022 11:39

Get NameColor

Post by Nylleth »

I'm trying to get the ActorNameColor in my Back log
IS it possible?
I was trying this code

Image
Image
Image

Elringus
admin
Posts: 538
Joined: 11 May 2020 18:03

Re: Get NameColor

Post by Elringus »

Sure, you can get any info via code. Make sure you're using a valid actor id when getting metadata.

Nylleth
Posts: 2
Joined: 24 Feb 2022 11:39

Re: Get NameColor

Post by Nylleth »

Where can I find the ActorID?
I was tried to find in Project Setting, but not appear. And I not have ideia where can I find it to use in the code

Image

I only want to retrieve the Color Name and use to color the text
Is a simple task

Elringus
admin
Posts: 538
Joined: 11 May 2020 18:03

Re: Get NameColor

Post by Elringus »

You enter the ID when creating a new actor record. On your screenshot the ID is Player.

Post Reply