How do i get it to stay persistent after restart?
How do i get it to stay persistent after restart?
You need to register a dedicated server with ALiVE's War Room and enable persistence within the mission itself: http://alivemod.com/wiki/index.php/Persistence
I highly recommend you look over the wiki. It has a lot of useful information to get you started with ALiVE in general.
@HeroesandvillainsOS You need to register a dedicated server with ALiVE's War Room and enable persistence within the mission itself: http://alivemod.com/wiki/index.php/Persistence
I highly recommend you look over the wiki. It has a lot of useful information to get you started with ALiVE in general.
I did everything it says but it does not stay persistent after i restart the mission.
Please make sure you are saving the mission with the ALiVE Save Server and Exit buttons and not the vanilla abort buttons.
You can verify your persistence setup by following the instructions on the ALiVE warroom server setup page.
@SpyderBlack723 Please make sure you are saving the mission with the ALiVE Save Server and Exit buttons and not the vanilla abort buttons.
You can verify your persistence setup by following the instructions on the ALiVE warroom server setup page.
I have a script where I can spawn in fortifications. Will they stay after I save and exit or no?
You can call
[ALIVE_SYS_LOGISTICS,"updateObject", _objectArray] call ALiVE_fnc_logistics;
when spawning the composition to save the objects.
@SpyderBlack723 You can call
[ALIVE_SYS_LOGISTICS,"updateObject", _objectArray] call ALiVE_fnc_logistics;when spawning the composition to save the objects.
Can you explain to me exactly how I could use this to save things?
I sometimes in my missions spawn things using Zeus but I read in other threads that the object needs to be moved by the player before saving for later persistence. So, would somehow using that code save me from having to basically interact with every single object spawned?
That code is ran when a user drops an object. So running this code directly on an object saves you from requiring a user to interact with the item.