Jump to content
Developer Wiki and Function Reference Links ×

Assigning a Text Style Resource in Vectorscript


SamIWas

Recommended Posts

Okay, quick question:

I wrote a script which contains a box and two text fields. I want the two text fields to each be assigned a certain text style. Not just "bold or italic", but an actual text style resource.

I have the resources made, I have the classes involved assign those text styles when created. This all works fine when I do things manually.

But, I cannot for the life of me figure out how to have Vectorscript assign a Text Style Resource to some text after it creates it. I can assign the class. I can individually assign the text options, but I want the text blocks to reference the Text Style resources.

All of the things I can find in the Vectorscript Language guide, refer to basic text styles such as "bold" or "shadowed". I must be missing something very basic.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...