Search the Community
Showing results for tags 'respawntickets'.
Found 1 result
-
Hi all. I am currently trying to make use of the parameters to dynamically add tickets to the Respawn Tickets Module so that players can adjust the number of tickets for their own session to control their overall time-frame. Currently, how the game works is based on sector Bleeding rather than actual respawn. Basically when sectors are taken to a certain percentage, the tickets will start bleeding. So player respawn isn't taken into account for the reduction in tickets. Module is set to 250 each per side, WEST, EAST. I used: // get the number from parameters // somehow get the difference, e.g. 500 - 250 = 250 if (isServer) then { [WEST, _difference] call BIS_fnc_respawnTickets; [EAST, _difference] call BIS_fnc_respawnTickets; }; But it seems that under a dedicated Server, the above command doesn't seem to reflect on all players, and most likely only on the server..... though I thought the command is supposed to work on a global level. And testing it out of the isServer if else statements, it resulted in additional of more tickets every time a player joins..... So I was wondering if anyone is able to explain how that function works or if I have used the wrong combinations... or I should have used either just the module or the function command. Thanks.
- 1 reply
-
- dedicated
- respawntickets
-
(and 3 more)
Tagged with: