Hello all,
I am Trying to write a few basic scripts just to get a feel for the vectorscript language.
and the documentation has a list of all the functions but is not great at explaining how to use them.
I am trying to access information about a selected object.
which i believe is used with the
vs.FSActlayer function. I realize that returns a handle from a select item that I should store in a var or const
but I feel like i should be able to do something like FSActlayer.textsize or FSActlayer.position it that makes sense.
basically I am just trying to write a script that increments text size up or down 1.
I can make a really short script to set the text size to a certain number
foo = vs.FSActLayer();
vs.SetTextSize(foo, 0, 100, 96)
------------------------------------------------
but is there a way to do something like this
vs.SetTextSize(foo, 0, 100, foo + 1)
Anyway I appreciate any help at all!
Thanks,
Anthony