FoxClubNiner
-
Content Count
30 -
Joined
-
Last visited
-
Medals
Posts posted by FoxClubNiner
-
-
This works on the dedicated server! Thank you so much!
-
So I'm pretty close to getting this working. Originally I had:
0 setFog [1, .20, 5];
I like this because you can control the height of the fog with the numbers ".20 and 5" but this wont execute on my dedicated server so I changed it to this:
[0, 1] remoteExec ["setFog",0];
This works as intended except I don't have those extra numbers to fine tune the fog height. So I tried this:
[0, 1, .20, 5] remoteExec ["setFog",0];
But this way disables the fog so something isn't correct. Any ideas how to integrate the additional parameters?
-
This works in the editor. Can't wait to test it out on the server! Thank you for the help!
-
Any ideas how to remoteExec this? Currently it just plays on the local machine that activates it. I am trying to get this working in a dedicated server environment.
Quote[] Spawn {
[
[
["Recon Position", "<t align = 'center' shadow = '1' size = '1.5' font='tt2020style_e_vn_bold'>%1</t><br/>"],
["0557h", "<t align = 'center' shadow = '1' size = '1.0'>%1</t><br/>"]
]
] spawn vn_ms_fnc_sfx_typeText;};
remoteExec and JIP
in ARMA 3 - MISSION EDITING & SCRIPTING
Posted
Here is my issue. Players that JIP (join in progress) can mess up the mission because they spawn with access to an addAction that was removed for players that were in the server since the start of the mission.
The following code works perfect and does what I need it to. It even works when JIP players execute it. I just don't want them to have access to the addAction because they can disrupt the flow of the mission with it.
With the help of some people on discord and here, I have written an addAction that executes a .sqf that changes weather, time of day, and a few other things. Here is the addAction:
The above addAction executes this .sqf:
I have received some advice on discord that "It would be way easier if you would just use a global variable for a action condition and publicvariable it to disable the action." But I don't know exactly how to implement this. Another person was saying to create a initServer file and put some variable in there. Problem is I'm so new I really need this spelled out for me. I've messed around for hours trying different stuff but I think I'm just digging myself a hole. But I'm not giving up!