Jump to content
Sign in to follow this  
falconx1

anyone know how to use the tickets system

Recommended Posts

i seen a Dev post something here: http://forums.bistudio.com/showthread.php?148761-Respawn-Ticket-System

but i cant get it working i set the tickets to 5 each team then 5 killed myself five times but didnt see anything happen after tickets was out,

so whats supposed to happen end mission?

there is no detailed example usage on the wiki https://community.bistudio.com/wiki/Arma_3_Respawn

Share this post


Link to post
Share on other sites

anyone know if it works yet? or should i try to create my own ticket system ?

Share this post


Link to post
Share on other sites
I think for what you are trying to do you would need to add triggers that check for when ticketnum = 0

if that's all you have to do to use the new tickets system then that's super simple, but i would prolly use a loop instead of a trigger.

Description.ext

respawnTemplatesWest[] = {"MenuInventory","MenuPosition","Tickets"};

Init.sqf

//set tickets
[west, 5] call BIS_fnc_respawnTickets;
// OR set using?
ticketsWest = 5;

server.sqf

//count remaining tickets as fight goes on
EndisNear = true;

	 while {EndisNear} do {
        ticketNUM = [west] call BIS_fnc_respawnTickets;


          if (ticketNUM == 0)then {

             ["End1","BIS_fnc_endMission",west] call BIS_fnc_MP;
     ["End2","BIS_fnc_endMission",independent] call BIS_fnc_MP;

		EndisNear = false;

	};

   sleep 10;	

    };

so is this example correct? i will have to test it today or tomorrow

Edited by falconx1

Share this post


Link to post
Share on other sites

I think you have to set ticketsWest, because the BIS_fnc_respawnTickets (in your format) is to increase the amount of tickets by 5. It would probably work by placing in a trigger, west gets rewarded with extra 5 tickets. I will be trying your code now (adapting it for my mission of course), and try report how it goes.

EDIT: I tried it, and nothing worked. I even put the ticket checker in a trigger, but it still didn't do anything. I will just be using a timer for my mission until someone figures out how to make the tickets work properly.

Edited by eraser1

Share this post


Link to post
Share on other sites

Yeah haven't played enough yet to know.. saw a few sector control / ticket missions released in the last few days though I would pick them apart and see how the author did it

Share this post


Link to post
Share on other sites

EDIT: I tried it, and nothing worked. I even put the ticket checker in a trigger, but it still didn't do anything. I will just be using a timer for my mission until someone figures out how to make the tickets work properly.

when and if i get it working ill update here, but it's not something super important for me at the moment so someone will probably beat me to it. ive only tested it once and that was before Karel made the new tickets wiki page.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×