Search the Community
Showing results for tags 'ticket'.
Found 5 results
-
How can I subtract one ticket each second for each sector controlled?
Neonz27 posted a topic in ARMA 3 - MISSION EDITING & SCRIPTING
I need a way to bleed tickets once per second as the Bleed Tickets module does, but with the bleed amount being equivalent to the number of sectors controlled by that team. For example, if Blufor has 5 objectives while Opfor has 3, Opfor will lose 5 tickets each second while Blufor will lose 3 tickets each second. Below are a few things I have tried so far which seemed to either not work or freeze my game. I apologize if I have no clue what I'm doing. [sector_alpha, "ownerChanged", { params["_sector", "_owner", "_ownerOld"]; while { true } do { [_owner, 1] call BIS_fnc_respawnTickets; sleep 1; }; }] call BIS_fnc_addScriptedEventHandler; [sector_alpha, "ownerChanged", { params["_sector", "_owner", "_ownerOld"]; waitUntil { sleep 1; [_owner, 1] call BIS_fnc_respawnTickets; }; }] call BIS_fnc_addScriptedEventHandler;- 2 replies
-
- sector control
- sector
-
(and 4 more)
Tagged with:
-
Hello, I am working on a mission and having some difficulty: some time into the mission, every player who has a zeus slot assigned will find their game crashes with the following: 0xc000005 STATUS_ACCESS_VIOLATION I'm kind of at my wit's end trying to debug this issue, as it makes administering the mission a bit problematic if the admin users are being kicked every 20 minutes or so. The mission begins fine, but as units spawn and the player count rises, the odds of the kick happening increase. The interesting thing is it doesn't isolate some users: it's all users that have a zeus module assigned. My initial approach was the dynamically create zeus modules and assign admin users to them, but then I went back to a standard pre-placed module approach, with UIDs as the assignment, to see if that was the issue. Both methods produce the same results. In the .rpt, we get the following: 2018/12/19, 21:11:01 Client Username - client's ticket has become invalid. Code: 6 2018/12/19, 21:11:01 NetServer: cannot find channel #264769362, users.card=45 2018/12/19, 21:11:01 Message not sent - error 0, message ID = ffffffff, to 264769362 (Username) and that happens every second until every Zeus user has crashed. I've tried to be very efficient in the coding of the mission, but there are some loops that run for various reasons. I've used diag_tickTime to clock how some of the longer scripts are performing, and nothing goes over 0.52ms... there were probably around 300 units running in the mission at the time. Any ideas, or suggestions of what to check? I'm at a loss. - Ryko
-
Hello, I have seen numerous post about this issue, but can't seem to find a solution that actually works. So here is my problem. I have a classic sector game which I play alone or with a friend, against or with each other. Each side (Bluefor and Opfor) have a squad a player can take over and control. Rest of the forces come from an AI spawn module. It all works perfectly except all the ai's spawned from the modules doesn't bleed any tickets on both sides when they are killed in action. It is only players and ai squad members that I know how to use bleed tickets with. But the Ai's from the module does not work, so it is sort of unbalanced. Please do anyone knows how to bleed tickets form ai spawn module? Script I use for the ai squad mebmers in unit init: this addEventHandler ["killed",{[_this select 0,-1,true] call bis_fnc_respawnTickets;}];
-
Guys im creating a capture sector mission wich opfor has all the points captured and blufor needs to capture all 3 of then and i want the tickets only for respawning soo i only set 10 tickets for blufor and nothing for opfor, the problem is, when the blufor tickets goes to 0 it says Your Side Has Won instahead of: You Lose Faggot, soo what i tried to do to fix it? A trigger with the Condition: WestTickets <=0; On Act: endMission "LOSER"; Did it work? Of course not! Soo anyone can help me? Disclaimer Im not responsible for any english error cuz im brazilian :)
-
I'm trying to make a respawn ticket system as seen in the Official ArmA 3 Support missions, with the GUI on the right as seen here: http://i.imgur.com/D7okCzW.jpg Anyone know how I would go about doing it?