I've had a look at the Dayz Code quite extensively but how to write a script to spawn a vehicle that is saved to the database is becoming a little beyond me.
Basically I want to have a server script that can spawn a persistent vehicle. It's linked to conditions and is set to run randomly through the mission. ie dynamic vehicle respawns.
The issue I'm having, is how do I make this save to the hive??
The two current thoughts, I'll use lada an an example.
Do I run the createvehicle and then run the dayz hive scripts.
eg createvehicle lines
setinit = this execVM =>one of the compiles?<=
Or is it part of the spawn and is actually code?
Has anyone spawned a vehicle and had it save to the hive in game? How did you do it?
Basically I want to have a server script that can spawn a persistent vehicle. It's linked to conditions and is set to run randomly through the mission. ie dynamic vehicle respawns.
The issue I'm having, is how do I make this save to the hive??
The two current thoughts, I'll use lada an an example.
Do I run the createvehicle and then run the dayz hive scripts.
eg createvehicle lines
setinit = this execVM =>one of the compiles?<=
Or is it part of the spawn and is actually code?
Has anyone spawned a vehicle and had it save to the hive in game? How did you do it?