Jump to content
  • Topics

  • Posts

    • This might be a very simple suggestion but, I think a chainsaw could be an incredibly useful tool in such a game as dayz where base building mostly rely on wood, of course it would be loud and needs fuel to work but who wouldn't need a chainsaw even as a weapon? 
    • You can set your CHINOOK to trigger owner and change trigger activation condition to this and { player in (thisList select 0) }  
    • We ran into the same revive script issue, could reproduce it fairly regularly by tweaking the mission file and spawning only RPKs in the gun bag and killing eachother.   After looking at the code, we made a minor adjustment by moving the _unit setVariable ["AT_Revive_isUnconscious", true, true]; line from fn_Unconscious.sqf to the first line of the then-statement of fn_HandleDamage.sqf   Reproducing the issue was now almost impossible. It happened once, with a double death message, but this time the player could be revived without side-effects.   Hope this helps someone.  
    • The problem is that a server and clients have their own profile namespaces, therefore you should request data from the server: // initServer.sqf sendDataToClient = { private ["_data", "_varNames"]; params ["_player"]; _data = []; _varNames = switch (vehicleVarName _player) do { case "kiba3x": { ["KIB_kibaPos", "KIB_kibaRating"] }; case "kavhan": { ["KIB_kavhanPos", "KIB_kavhanRating"] }; default { ["KIB_konalPos", "KIB_konalRating"] }; }; { _data pushBack (profileNamespace getVariable _x); } forEach _varNames; missionNamespace setVariable ["clientData", _data, if (_player == player) then { false } else { owner _player }]; }; // initPlayerLocal.sqf if (isServer) then { [player] call sendDataToClient; } else { [player] remoteExecCall ["sendDataToClient", 2]; }; waitUntil { !(isNil "clientData") }; clientData params ["_position", "_rating"]; clientData = nil; player setPosATL _position; player addRating _rating;  
    • I am starting a multiplayer server using "Host Server". On first startup of my server I can edit the mission parameters I specified in my description.ext e.g.: class Params { class TimeOfMission { title = "Time of day"; values[] = {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23}; texts[] = {"0:00","1:00","2:00","3:00","4:00","5:00","6:00 - Dawn","7:00","8:00","9:00","10:00","11:00","12:00","13:00","14:00","15:00","16:00","17:00 - Dusk","18:00","19:00","20:00","21:00","22:00","23:00"}; default = 6; function = "BIS_fnc_paramDaytime"; }; }; When I start playing, the mission parameter works as expected and sets the time of day. Then I save and exit my server. When I host the server again later and click on resume, I can change the mission parameter again. However any change I make has no effect on the game. The time of day will resume exactly at the time I shut down the server. How can I make changes in mission parameters take effect after resuming a previously saved server? Thank you so much for any help.
×