I'm trying to make a “sprite maker” otl and would like the option to have either a static sprite or an animated sprite.
I have an “image file” parameter linked to my attribcreate SOP. In the attribcreate I have the type set to “string.”
In my string I'm entering:
`chs(“../../spritemap”)`.`padzero(4,$F%chs(“../..spritefileanimrangev”))`.`chs(“../../horsepopspritefileext”)`
====================================
My parameters allow me to enter the name of the file:
c

====================================
And the frame range (uv)
1 50
====================================
And the extension (which is a pull-down type menu)
rla, rgb, tiff, etc
====================================
I'm not getting any images. I'll be troubleshooting some other things before I completely rule them out. But right now it seems like its is not possible to string “stings” together like this.
`chs(“filebase”)`.`padzero(4,$F%ch(“lastframe”))`.`chs(“extension”)`
Is there another way I shoud be combining multiple strings?
:?: