Space Engineers

Space Engineers

Independent Survival
DrakoZ 2019 年 3 月 19 日 上午 8:58
Need to check
The mod was very useful ... It will be a pity if it is left without support.
I rummaged a bit, but I did not know much in the scripts, found where the conflict was.

MyAPIGateway.PrefabManager.SpawnPrefab(
null,
"SuitBackpack",
player.GetPosition(),
new Vector3(1f,0f, 0f),
new Vector3(0f, 1f, 0f),
new Vector3(0f, 0f, 0f),
new Vector3(0f, 0f, 0f),
null,

==>> SpawningOptions.EnableSave, <<==

player.IdentityId,
true
);
}

But maybe I'm wrong ....