Jump to content
Sign in to follow this  
Guck

can civilian kills drain west tickets?

Recommended Posts

Hello all.

My MP mission is going fine and i am doing some polishing on it.

my west team have tickets for respawn and i would like to make it so that that team also looses tickets if they kill civilians. Like one civilian life is worth 10 tickets. Its importand though that this only happens if blufor killes civs.

Anyone who could help me out?

the ticket system i have so far is.

ini.sqf:

[west, 100] call BIS_fnc_respawnTickets;
enableSaving [false, false];

onPlayerRespawn.sqf:

private["_wtickets"];
_wtickets = [west] call BIS_fnc_respawnTickets;
if (side player == west) then {hint format ["NATO HAS %1",_wtickets];}; 

Thanks for any help!

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  

×