Jump to content
  • Topics

  • Posts

    • Hi, I am trying to save players position on a mission map using prifilenamespace of each player. Its working fine in editor, but refuse to work on dedicated server ... I wonder where is the problem?
        //PERSISTENT PLAYER POS AND RATING //saves players pos and rating every five min //loads players pos and rating when they join server //initServer.sqf []execVM "stats.sqf"; //stats.sqf while {true} do { _kibaPos = getPosATL kiba3x; profileNamespace setVariable ["KIB_kibaPos", _kibaPos]; _kibaRating = rating kiba3x; profileNamespace setVariable ["KIB_kibaRating",_kibaRating]; _kavhanPos = getPosATL kavhan; profileNamespace setVariable ["KIB_kavhanPos", _kavhanPos]; _kavhanRating = rating kavhan; profileNamespace setVariable ["KIB_kavhanRating", _kavhanRating]; _konalPosition = getPosATL konal; profileNamespace setVariable ["KIB_konalPos", _konalPosition]; _konalRating = rating konal; profileNamespace setVariable ["KIB_konalRating", _konalRating]; sleep 300; }; //initPlayerLocal.sqf //playable units are given variable names "kiba3x","kavhan","konal" in the editor if ((str player) == "kiba3x") then { _kibaPos = profileNamespace getVariable "KIB_kibaPos"; player setPosATL _kibaPos; _kibaRating = profileNamespace getVariable "KIB_kibaRating"; player addRating _kibaRating; } else { if ((str player) == "kavhan") then { _kavhanPos = profileNamespace getVariable "KIB_kavhanPos"; player setPosATL _namalskPos; _kavhanRating = profileNamespace getVariable "KIB_kavhanRating"; player addRating _kavhanRating; } else { _konalPos = profileNamespace getVariable "KIB_konalPos"; player setPosATL _konalPos; _konalRating = profileNamespace getVariable "KIB_konalRating"; player addRating _konalRating; }; };  
    • Who knows how it is possibile form logical side?? (live and dead in the same time?) are we on quantum computing already in A3? :)
    • Hello everyone and sorry if this has been covered, a did a search but couldn't see anything, Its probably a simple answer I just couldn't think of it!
        So I have an object with the variable name "CHINOOK". What I want to do is when the "CHINOOK" (to be flown by a player) enters the area covered by a trigger it activates. I don't want to do a simple BLUFOR present on the trigger as its for an extraction and I don't want it to trigger when the ground units enter the area but when the extraction heli enters the trigger area.
    • Hi, yes you're doing it correctly. As trigger placed in the editor is created on each client and then checks condition locally, activation any player will activate the trigger everywhere and the music selected in trigger effects starts playing. RemoteExec is not needed in this case. RemoteExec is used with commands that have local effect  and you know that condition can be activated only on one machine (like for an example, when you tick server only), but you want to run the command everywhere, or on specific machine. For more information about multiplayer scripting check this page: https://community.bistudio.com/wiki/Multiplayer_Scripting 
      Also, welcome on the forum ! 🙂
    • Hello everyone   As I see, Arma Reforger is a very interactable and immersive game. I love it so much. And as we can see, most games are popular while the community making their own games and mods.  So, as one of a community's content maker, mostly roleplay projects, I'm wondering are there any plans for an interactable furniture, such as chairs and beds?    We can already see many interactable objects, such as pianos, fireplaces and many more, where you can sit, or interact. It would be great, if the developers would make all the furniture interactable by default (Or, at least, give a chance for a modders to make that kind of furniture).    Thank you for your time. 
×