Member
Last active 4 years ago
I'm trying to try and get a trigger to activate when a sides profile count drops below a certain number. My goal is basically activate a trigger after a certain attrition of forces. Currently I have a script with the following:
_profilesBySide = [ALiVE_profileHandler,"profilesBySide"] call ALIVE_fnc_hashGet; _profilesBySide = _profilesBySide select 2; //OPFOR profile count profiles = count (_profilesBySide select 0);
Then I have a trigger that activates when
profiles <= 100
I know this works when I use the debug console to execute the script, however I am wondering how to set this up so the profile count is continually monitored. Any help appreciated.
You can modify your staticdata.sqf in order to blacklist certain tasks.
ALiVE_autoGeneratedTasks = [ "MilAssault", "MilDefence", "CivAssault", "Assassination", "TransportInsertion", "DestroyVehicles", "DestroyInfantry", "SabotageBuilding", "InsurgencyPatrol", "InsurgencyDestroyAssets", "Rescue", "CSAR"];
I believe that is current task list. Just delete or comment out what you don't want.
That's exactly how I was doing it with no success.
Yes, multiple times, and I've tried multiple different keys. For now I just plugged my old keyboard back in.
I recently got a new keyboard that doesn't have the "App Menu" key. However, I can't seem to rebind the Alive menu. No matter what key I bind it to, it won't open. The sound of it opening plays, but it doesn't appear. If I plug in old keyboard and use App Menu key, works just fine. Any ideas?
@narrowsoul If you are looking for the mission folder it is created when you save your mission in the Arma editor. Should be something like C:\Users\#USERNAME#\Documents\Arma3\ and then \missions or \mpmissions. Once saved there should be a folder with your mission name. If you cannot find those .sqf files in the incon folder you downloaded try redownloading from Github here . I just tried the .zip link and it has all the files. Just take the INCON folder, description.ext, initUnits.sqf, and initPlayer.sqf and drop them in your mission folder, instructions in readme should help. There are also readmes in for each specific script in their associated folders in the INCON folder. Hope that helps.
Hmm not sure. "O_SHGPLAForces_SHG_PLAWeapons_AA_01" is a man not a static weapon yes?
Do you have any problems blacklisting vanilla units?
Hostile to I believe. For example if you set HIGH hostility to BLUFOR, they won't like them much. Kill a few civs as BLUFOR, and they'll take up arms against you.
There are four different blacklists: Unit, Vehicle, CQB, and Group. You need to separate yours into those. See wiki here .
The CQB blacklists (what you have) will prevent individual units from being spawned in CQB. So if you want snipers to be excluded, add them in there.
If you want a certain group (for example sniper team) to be excluded, add them to group blacklist. As far as I understand, CQB module does not spawn groups at all, but individual units based on positions inside buildings.
I am also curious about Heroes trigger setup. I assume it is correct, but again not sure how to debug it.