Using Strings in a message and related questions

Post » Mon May 06, 2013 11:08 am

Hey guys I have a couple of questions.

1. Can you pass a string literal to a message like you can with a float, so I don't have to use Debug.Messagebox in order for strings to display?

2. Is there a way to pass a ref's name to a string without using SKSE's GetName() function?

3. Can you capitalise a string literal? So Myname instead of myname?

Actor Property AnimalRef autoString BaseActorName = AnimalRef.GetLeveledActorBase().GetName()       Debug.MessageBox("These claw marks were made by a " + BaseActorName + ".")
In the above script the message box shows as "These claw marks were made by a wolf." for example. I'd like to avoid SKSE, capitalise wolf to read Wolf, and ideally not use Debug.Messagebox :smile:
User avatar
Jordan Fletcher
 
Posts: 3355
Joined: Tue Oct 16, 2007 5:27 am

Return to V - Skyrim