Ive got that issues again where its spawning the entity of the cargo and not the event,
Has no scientists on it, boat has no fuel tank etc....
Not sure if this is a custom map issue or not but thought i'd mention it
Ive got that issues again where its spawning the entity of the cargo and not the event,
Has no scientists on it, boat has no fuel tank etc....
Not sure if this is a custom map issue or not but thought i'd mention it
prefabName = "assets/content/vehicles/boats/cargoship/cargoshiptest.prefab";
var Ship = (CargoShip)GameManager.server.CreateEntity(prefabName, vector3_1, new Quaternion(), true);
Ship.Spawn(); mspeedie
I will check if they change anything about it.
Can you please do a test for me?
In RCON try this command:
spawn cargoshiptest
If it spawns the ship with scientists I will change my code to just call that command rather than doing it with internal code:prefabName = "assets/content/vehicles/boats/cargoship/cargoshiptest.prefab"; var Ship = (CargoShip)GameManager.server.CreateEntity(prefabName, vector3_1, new Quaternion(), true); Ship.Spawn();
it does spawn a ship with sicentist for me