Infernalspawn Posted July 11, 2006 Share Posted July 11, 2006 Hi, i want to use different images for shading depending on certain parameters. so my idea was to add the different components (eg. integer as index, strings as fileprefix) as strings together. but the add operator does not work, is there an other option to do this ? thx Infernalspawn Quote Link to comment Share on other sites More sharing options...
sibarrick Posted July 12, 2006 Share Posted July 12, 2006 You need to use sprintf for this kind of thing. It's not supported in VOPs but is in vex, it allows you to format strings into variables. Quote Link to comment Share on other sites More sharing options...
AndrewVK Posted July 12, 2006 Share Posted July 12, 2006 It's not supported in VOPs Print VOP works as sprintf() if "Output to console" checkbox disabled Quote Link to comment Share on other sites More sharing options...
sibarrick Posted July 12, 2006 Share Posted July 12, 2006 Print VOP works as sprintf()if "Output to console" checkbox disabled Good point, always forget that! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.