Blockland Forums > Modification Help
function for getting a datablock's name?
Pages: (1/1)
Reinforcements:
Hey,
I'm Working on something and I need to know whats the function to get a datablock's name. All I get at the moment is its number(I think).
Thanks,
Reinforcements
Kalphiter:
getDatablock(###).getName();
Reinforcements:
It doesn't seem to the "getName();" very much, the console is complaining. Nevermind, sorry. The function is working. I'm trying to get the file name of a music datablock, am I on the right track?
Reinforcements:
I've got my thing working, thanks, and thanks for the really fast reply! :D
Pages: (1/1)