Skip to content

Question about GetName()

ZephiriusZephirius Member Posts: 419
edited March 2022 in Builders - Scripting
Would someone please explain to me, why the PC's name doesn't appear as floaty text above the object "FASIONABLE_ONE"? The object the script is attached to is a book placeable...
Or am I way off on this one?
void main()
{

    object oPC = GetLastUsedBy();
    if (!GetIsPC(oPC)) return;

    object oEyeball = GetObjectByTag("FASHIONABLE_ONE");
    FloatingTextStringOnCreature(GetName(oPC), oEyeball);

}

Comments

Sign In or Register to comment.