Got a question about the PluginAPI and RegisterStringVarInterface(). Now that argument extraction is done through the script interface would it be correct to assume I no longer need RegisterStringVarInterface()? Looking at the code there are no calls leading to it.
RegisterStringVarInterface() should no longer be necessary.
yes when i downgrade to b5 or b6 it works again
Thank you. I'll look into what OBSE functionality CCAO is using that may have changed between beta 6 and the current version.
Hi I have a little question about the GetName function.
I understand that it returns a string with the display name of an item,
however i noticed that depending on the font size the display name might be longer or shorter (i.e if the full name of the item is too long to display it will be shotrtened)
I tested this using vanilla and DarN UI.
My question is:
Is the GetName Function returning the Full Name or just the displayed name? My limited testing sugests the latter.
Can anyone confirm that?
Secondly is there any way to implement a function to get the full name? (as shown in the CS)
Thx
GetName returns the name as defined in the CS. Depending on how you're displaying the result the name may be getting shortened after it's returned from GetName.
Feel free to post code and output.
Why not use a user function to do the job ? You can always box the caller script's variables and pass it as an argument.
Pretty much this. If the calling script is a quest script you don't need to worry about boxing up local variables.
Alternatively you can write a really ugly spaghetti-style script with Label/Goto to jump into and out of your subroutine code.
SetRefName. SetName does the base, it'd be nice to change summoned creature's names to "appear" to be properly summoned (like you see in the game with pre-pended owner names)
Yeah, like combat style, the name is defined on the base object, so the solution would be similar. I'll add it to the todo list.