The actual GUIDs have been removed.replace with real ones.
The ability to spawn in the prison is nice, because we have been stress testing the server by playing some scenarios and i have been manually loading up the server with AI.they were dying and I was having to teleport them.
Also I am converting the code to provide pre-assembled weapons.I didn't know how to do that until last night. I am modifying it to clean up and reduce the code, using arrays for the kit. This works fully with the current Dayz Standalone distribution. It provides 5 of my testers preassigned kit on spawn and spawns them into the Prison. This code is implemented on my test server and works. I am no expert programmer so it's likely not beautiful but it works. Make sure to change player1,2,3 etc to your Steam64 idįolks, just to share my solution. ItemEnt = player.GetInventory().CreateInInventory('RoadFlare')
ItemEnt = player.GetInventory().CreateInInventory('HuntingBag') ItemEnt = player.GetInventory().CreateInInventory('Rag') GUID = player.GetIdentity().GetPlainId() //Steam 64ĮntityAI item = player.GetInventory().CreateInInventory('SVD') Override void StartingEquipSetup(PlayerBase player, bool clothesChosen)