I am working on a script that will create new instances of an object, however after I create that instance I want to be able to address it via it’s scripting name. How can I specify the scripting name of an object at the time of it’s creation?
At the moment I have the following script for spawning a new instance of the object
script newobject pfft~ 02-stocha-freeze.pfft 4096 8
But I’m not sure how to go about specifying that object’s scripting name, would love to hear any suggestions anyone might have