Jump to content

Recommended Posts

Posted (edited)

Hi.

Placeatme creates a copy of an base object.

I want to make a script that in certain situation create an object and after activating activator, it deletes that specific object that was created.

But what I got is only base id, not ref editor id.

 

I thought to do it with getfirstref, getnextref and then identify it by position or baseid.

 

But is there a way without a loop?

 

 

Also bonus question, can I somehow make a specific item to drop from a container or a player like player can by hand?

 

 

edit: ahhh i think i made a topic in wrong section because of the rush...

Edited by mythlessninja
Posted

from the wiki:

 

"When used to create a single object, this function will return a reference to the created object so that it can be used with additional function calls."

 

I.e. you can save the the reference returned and use it later to delete it.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...