mintypie007
Member
I have had an idea for a script for a long time now and finally have gotten around to it. Bandit Hunt, more or less just someone marked as a bandit on the map. An admin ahead of time made sure that it was known they were a bandit. Admin selects script on their action menu, every ~2 minutes a marker is placed on the map with their exact or general location. A small colored map marker (100m) would server this well. After looking around, checking through the Arma forums I put this together.
_unit == player;
_marker = 'center';
_marker setMarkerColor "ColorKhaki";
while{alive _unit}do{
_marker setMarkerPos (getPos _unit);
sleep 120.0;
};
Simple no? I know it tries to run through the script because I initially had the map color as purple and it gave me a bin config error. In the action menu (admin tools) the script is called like this
["Bandit Hunt", [8], "", -5, [["expression", format[_EXECscript1,"Bandithunt.sqf"]]], "1", "1"],
Do I need to have it like this. I understand that through Arma [x,x]exec script.sqf is how you "define" the select 1,2,3,etc
["Bandit Hunt", [8], "", -5, [["expression", format[[player,marker]EXECscript1,"Bandithunt.sqf"]]], "1", "1"],
Any reason why this wouldn't work with Dayz? I was surprised i got that config error.
_unit == player;
_marker = 'center';
_marker setMarkerColor "ColorKhaki";
while{alive _unit}do{
_marker setMarkerPos (getPos _unit);
sleep 120.0;
};
Simple no? I know it tries to run through the script because I initially had the map color as purple and it gave me a bin config error. In the action menu (admin tools) the script is called like this
["Bandit Hunt", [8], "", -5, [["expression", format[_EXECscript1,"Bandithunt.sqf"]]], "1", "1"],
Do I need to have it like this. I understand that through Arma [x,x]exec script.sqf is how you "define" the select 1,2,3,etc
["Bandit Hunt", [8], "", -5, [["expression", format[[player,marker]EXECscript1,"Bandithunt.sqf"]]], "1", "1"],
Any reason why this wouldn't work with Dayz? I was surprised i got that config error.