Blockland Forums
Home
Help
Login
Register
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Check if datablock exists
« previous
next »
Print
Pages: [
1
]
Author
Topic: Check if datablock exists (Read 279 times)
mp7964
November 09, 2011, 10:24:59 PM
Something like if(isDatablock).
Is something like this already implemented? If not, how would I do it?
Ad Bot
Advertisement
otto-san
November 09, 2011, 10:37:59 PM
if(isObject(SomeSortOfDatablock)) would work I'm almost 99% certain.
Amade
November 09, 2011, 11:09:00 PM
If you wanted to be 100% sure it was a datablock in addition to confirming its existence, you could use
datablockGroup.isMember(%obj);
Print
Pages: [
1
]
« previous
next »
Blockland Forums
»
Blockland Forums
»
Modification Help
»
Check if datablock exists