mythlessninja Posted April 3, 2022 Share Posted April 3, 2022 (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 April 3, 2022 by mythlessninja Link to comment Share on other sites More sharing options...
QQuix Posted April 3, 2022 Share Posted April 3, 2022 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. Link to comment Share on other sites More sharing options...
mythlessninja Posted April 3, 2022 Author Share Posted April 3, 2022 oh damn, thanks! I have never known that I can use it that way. Thanks! That's EXACLY what I need. Link to comment Share on other sites More sharing options...
ArmlessWunder Posted April 6, 2022 Share Posted April 6, 2022 Thats nice to know, thanks for sharing Link to comment Share on other sites More sharing options...
Recommended Posts