Hmmm how do I check if centerpivot already exists ? something like:
or how do I check if an entity exists ? Is there a blitz command to do it ?
I think the code above will work, so now I will integrate it into my above code sample...
if getentitytype(centerpivot) <> 9 then centerpivot = createpivot() entitytype centerpivot,9 endif
or how do I check if an entity exists ? Is there a blitz command to do it ?
I think the code above will work, so now I will integrate it into my above code sample...