I know in Decal (well I found out today actually but I had my suspicions) you add it to a queue and then you every so often recheck if the object has a true that the id was made.
Since the plugin/companion is not waiting around (else fps would fall to zip) how is it doing it for all the _id variables and keeping in sync with AC Tool itself?
in C++ you basically