-
Posts
4 -
Joined
-
Last visited
-
Donations
0.00 GBP
Contact Methods
-
Steam Name
Mokka
Recent Profile Visitors
The recent visitors block is disabled and is not being shown to other users.
Mokka's Achievements
Newbie (1/14)
1
Reputation
-
How do you run task scripts on the server side?
Mokka replied to June's topic in Modding / Help & Support
Sure you can add me on Steam! I have sent the link thingy to you as a PM -
How do you run task scripts on the server side?
Mokka replied to June's topic in Modding / Help & Support
;_; I have returned I will send you something to help you tomorrow, once I have some more sleep in my system -
How do you run task scripts on the server side?
Mokka replied to June's topic in Modding / Help & Support
You could go a step further, depending on the complexity of your project, and completely separate scripting components between server and client. This would basically mean putting all relevant files that are meant for the server only into an addon, which only the server loads in on startup. The mission file (i.e. the missionName.Altis) folder would then only contain scripts that are running on the client. If you want to go down that path, just let me know. I'll guide you through the setup if you wish -
D34TH reacted to a post in a topic: How do you run task scripts on the server side?
-
Mokka changed their profile photo
-
How do you run task scripts on the server side?
Mokka replied to June's topic in Modding / Help & Support
Hope this is not too late for you, but have a look at the BIKI entry on the Arma 3 Task Framework: https://community.bistudio.com/wiki/Arma_3_Task_Framework The article contains almost everything you need in regards to relevant functions and commands for setting up tasks an handling them As for server-siding functions, here are a few BIKI entries that can help you: https://community.bistudio.com/wiki/Locality_in_Multiplayer https://community.bistudio.com/wiki/isServer https://community.bistudio.com/wiki/isDedicated https://community.bistudio.com/wiki/hasInterface And the following little overview: if (isDedicated) then { //run on dedicated server only }; if (isServer) then { //run on dedicated server or player host }; if (hasInterface) then { //run on all player clients incl. player host }; if (!isDedicated) then { //run on all player clients incl. player host and headless clients }; if (!isServer) then { //run on all player clients incl. headless clients but not player host }; if (!hasInterface) then { //run on headless clients and dedicated server }; if (!hasInterface && !isDedicated) then { //run on headless clients only };