Blockland Forums > Modification Help

Check if datablock exists

Pages: (1/1)

mp7964:

Something like if(isDatablock).

Is something like this already implemented? If not, how would I do it?

otto-san:

if(isObject(SomeSortOfDatablock)) would work I'm almost 99% certain.

Amade:

If you wanted to be 100% sure it was a datablock in addition to confirming its existence, you could use datablockGroup.isMember(%obj);

Pages: (1/1)

Go to full version