Jump to content

Critical. Help needed


Demellion

Recommended Posts

Hello, community. Need some help about results of attachTo command.

Today, i was writing a script used to be a tool for my admins, which could allow them to move objects like vaults in-game using attachTo.

Code (dayz_spaceInterrupt.sqf part):

_obj = cursorTarget;
_obj attachTo [player];

A accidentaly used this on a map object and then i just detached it. I had no worries...

Somehow this changed the map object position and now i have no clue how to restore it, and where is the data itself.

I thought its not possible to delete/modify map objects.

Any ideas?

Thanks. 

Link to comment
Share on other sites

A restart fixes it, normally.

 

The problem is - it didn't.

If using infistar's debug console, what option did you click to exec the script?

 

Its my own script executed by dik_KeyCode. (pre-assigned button pressing in dayz_spaceInterrupt.sqf)

 

Was it local, server or global?

If global, no worries

attachTo is only global command and theres a big worries, as i cant track down the resource where did i change it.

I thought it only can apply changes inside the RAM, but seems like it affected physical file structure somewhere...?

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Discord

×
×
  • Create New...