Recent Posts

Pages: [1] 2 3 ... 6
1
ArmA Editing / Tutorial - Custom Zone Restriction 2
« Last post by Unkl on April 01, 2020, 03:19:30 AM »
The video tutorial for this script is available at: https://youtu.be/41troBy9fcU

To use this you need to have a named trigger which will detect your players as being in the zone and in the activation you will put:
zoneR = [nameOfTrigger, zoneType]execVM "Unk\fn_zoneRestrictor.sqf";
Where you use the name of your trigger and then zoneType can either be "inside" or any other value for "outside". This sets whether you want the trigger to be activated when the player is inside the zone or outside of the zone. It is a recent addition to the script as requested by Gamms from ISG.

Here is the full code:
Code: [Select]
//fn_zoneRestrictor.sqf by Unkl of PracticallyRealGaming.com (formerly TacticalGamer.com)
//Guide: available at forums.PracticallyRealGaming.com
//usage: zoneR = [nameOfTrigger, zoneType]execVM "Unk\fn_zoneRestrictor.sqf";
//zoneType possible values are - inside, outside. These correspond with either being inside the trigger zone or outside the trigger zone

_triggerActivated = _this select 0;
_triggerType = _this select 1;
_mssg = "fn_zoneRestrictor encountered an error if you see this";

if (_triggerType == "inside") then {
  if !(player in (list _triggerActivated)) exitWith {};
  _mssg = "YOU HAVE 7 SECONDS TO LEAVE THIS AREA";
} else {
  if (player in (list _triggerActivated)) exitWith {};
  _mssg = "YOU HAVE 7 SECONDS TO RETURN TO THE AO";
}

player groupChat "RETURN TO YOUR ASSIGNED AREA IMMEDIATELY!";
playSoundWarning = true;
cutText [_mssg, "plain", 0];
titleFadeout 5;

sleep 7;
if (_triggerType == "inside") then {
  if (player in (list _triggerActivated)) then
  {
    player setDamage 1;
    player groupChat "YOU HAVE BEEN KILLED FOR LEAVING YOUR AREA";
  } else {
    if (side player == west || side player == independent) then {player groupChat "YOU HAVE CLEARED THE UNAUTHORIZED ZONE";};
  };
} else {
  if !(player in (list _triggerActivated)) then
  {
    player setDamage 1;
    player groupChat "YOU HAVE BEEN KILLED FOR LEAVING YOUR AREA";
  } else {
    if (side player == west || side player == independent) then {player groupChat "YOU HAVE CLEARED THE UNAUTHORIZED ZONE";};
  };
}
2
World Of Tanks / Re: Teir IV tech tree skirmish tanks
« Last post by LpBronco on March 31, 2020, 05:53:30 PM »
Need to be able to vote for more than one tank - but considering I have premium versions of the Cromwell and the 85 , I'd probably have to pull the lever for the BIS.
3
World Of Tanks / Re: New Home
« Last post by Minkey on March 31, 2020, 05:48:33 PM »
Howdy
4
World Of Tanks / Teir IV tech tree skirmish tanks
« Last post by ARTILA on March 30, 2020, 03:52:05 PM »
Hi all once I get the top five or six will sort them by play style/characteristics.
 speed, Armor,.….
5
ArmA / Re: Weekend! Whoohoo Let's ArmA
« Last post by Unkl on March 30, 2020, 02:35:36 AM »
Hey BuB, welcome to the forums! Had a blast playing with you guys yesterday. There was no stress either! We filled up the mission and executed some well though out plans while having a laugh. Cheers guys.

Server is running all our services with no hiccups just like it ran for TG. So games are back on!
6
Announcements / Re: PRG Discord, TeamSpeak and Steam Group
« Last post by Unkl on March 30, 2020, 02:29:18 AM »
Another bump - added the PRG Steam Group to the list.
https://steamcommunity.com/groups/PracticallyRealGaming/
7
Insurgency Sandstorm / WOT Codes and Twitch Prime freebees
« Last post by tomfitz37 on March 29, 2020, 04:18:50 PM »
Hey all, Make sure you claim the Twitch Prime Battle Pass Care Package! 

Also, If you find a code to add, please share it on here for all to see!

Lets Roll!
8
Announcements / Re: A Welcome to those from TacticalGamer.com
« Last post by Unkl on March 29, 2020, 04:50:44 AM »
@Artila - Glad you guys are now dropping in and using the resources we have for you. I'll have to join you for a game sometime soon, if you can still play with someone at the newb level!
9
ArmA / Re: Weekend! Whoohoo Let's ArmA
« Last post by _BuB_ on March 28, 2020, 05:22:46 PM »
should be on tomm.
10
World Of Tanks / Re: New Home
« Last post by ARTILA on March 28, 2020, 12:12:18 PM »
Hi Tom and Bronco two post now only three to go for the reward of not having to type in letters I can barley see. Feels like one of the ingame missions
Pages: [1] 2 3 ... 6