Jump to content

Fake doors


BlastingMods

Recommended Posts

I was playing with AMM, and wanted to create a new shop at a certain location. The building has a fake door (locked in red text) and I wanted to replace the door with one from AMM. Now, AMM has the possibility to despawn or relocate this door, but the changes aren't stored in the game save, neither has AMM the option to save the change externally. I realize this door is a part of the map and gets respawned when entering the area again.

 

So I thought to try it from a different angle.

 

My question(s): is there a way to obtain some unique id (not the appearance name) of a specific door at a specific location and then with scripting, either CET, redscript or RED4ext, to despawn\relocate the door during game update (method)? Or maybe some way to despawn an object through specific coordinates.

 

EDIT: Never mind, I found the solution.

 

Using Game.GetTargetingSystem():GetLookAtObject() and Dispose() methods.

Edited by JudyIsHot
Link to comment
Share on other sites

  • Recently Browsing   0 members

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