Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Code Snippets / Image number to filename code

Author
Message
Lost in Thought
20
Years of Service
User Offline
Joined: 4th Feb 2004
Location: U.S.A. : Douglas, Georgia
Posted: 4th Dec 2005 10:56
Nothing fancy, I was just sitting there wishing DBP had a way to get the texturename of a model (for saving objects in a level editor) and came up with these.

image number to filename function (you can add your own find free object code):


And if you don't know the image number of a limb (if you loaded a model) you can use:

Return Integer=LIMB TEXTURE(Object Number, Limb Number)

to get the image number.

Login to post a reply

Server time is: 2024-11-23 10:35:52
Your offset time is: 2024-11-23 10:35:52