Rite
Member
PVE Prison punish after a kill help and discussion goes here!
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Thats why you have to add the trigger zone in your mission.sqmdid you ever figure out how to change it to combat loggers goto prison ????
class Sensors
{
items=14; // add + 1
class Item13 // your follow up number
{
position[]={1348.44,339,4065.91};
a=100;
b=100;
activationBy="WEST";
repeating=1;
interruptable=0;
age="UNKNOWN";
name="Prison";
expCond="(player distance Prison) < 100;";
expActiv="inPZone = true;";
expDesactiv="canbuild = true;inPZone = false;";
class Effects
{
};
};
};
if ((side _killer) == EAST) exitwith {
diag_log "Bots dont go to jail!";
};
if ((side _killer) == WEST) then {
sleep 8;
[_killer] execVM "custom\jail\start_punish.sqf"
} else {
if (((count crew _killer) > 1) && ((side _killer) == WEST)) then {
if (((gunner _killer) in (crew _killer)) && ((side _killer) == WEST)) then {
sleep 8;
[(gunner _killer)] execVM "custom\jail\start_punish.sqf"
} else {
sleep 8;
[(driver _killer)] execVM "custom\jail\start_punish.sqf"
};
} else {
sleep 8;
[(driver _killer)] execVM "custom\jail\start_punish.sqf"
};
};
prision={
if (name _x == _this select 0) then {
{
execVM "custom\jail\start_punish.sqf"
} forEach playableUnits;
}
};
I dont have infistar so cant help you with that code but when do you want them to go to prison?
the problem is the teleport check from infistar. Simpliest way is just to set this check to false.
To get an exception for the teleport to prison you will have to edit the ah.sqf
yeah it´s disabledwhat about the antihack in your init.sqf? thats disabled right?
The prison in this script was made by MaxPowers. You should really credit him for his work
http://epochmod.com/forum/index.php?/topic/6391-pavlovo-prison