You do not really need a OnSpawn script. You can use the HB script on the instance of the object to:
1) create a new instance of the object at the same location. ( basicly the same object without the HB )
2) Change the name of the new instance to the name stored in the DB.
3) Destroy Self. ( The instance with the HB)
EDIT: There is a thread in here some that covers just about the topic. Let me see if I can find it.
I just bumped it.
Persistant placeables
Modifié par Lightfoot8, 16 septembre 2012 - 12:08 .