Member
Last active 7 years ago
That was weird out of pure frustration i deleted the trigger and made a copy from scratch ... NOW its working...lol typical thanks for the response though!
@Imbazil could you elaborate on your trigger marker system? I've been trying to emulate your results and failing! I'm having a hard time with getting [getpos Trig_1, 100] call ALiVE_fnc_getDominantFaction == "OPF_F"
in a trigger condition to activate it.
Thanks!
Ok that worked thanks!
What the best way to do that? My first thought is dump the addAction into a .sqf and ExecVM it across all the clients with remoteExec.
Not sure if that the best way though...
That way though i could dump the addAction return value into a global variable at least. I'll give that a try and see what happens.
I tried both and they didnt work ... i actually re-formated the way the mission i was working on so i no longer need to worry about this. Thanks though you guys are awesome!
I couldnt pretend to know what i was doing without you guys LOL!
So yeah i need the index number on actions im adding to vehicles through remoteExec.
FOBA_State = [ConTruck, ["Remove FOB-Alpha", {execVM "FOB\FOBA_Active.sqf"}]] remoteExec ["addAction", 0 , ConTruck, true];
FOBA_State in this format is obviously grabbing the returns for remoteExec not addAction. How would i store the addAction return (index number) to a variable so i could publicly remove it too?
the return for FOBA_State is "2:1289" I tried removing both of those but as they dont remove the action i want or any im assuming these values arent for the addAction return.
Thanks ahead of time.
Matt
No one figurered anything out then i take it? Lol
Thanks guys!
The best way to deal with JIP and save state proof Tasks is to use Public variables as "trigger memory" if you will. There are tones of guides on this. Look for JIP proof tasks.
I used this guide to kinda get the gist of how they build the JIP proof tasks' framework.
OK! So , It still doesnt work. I ran it with the double quotes (i.e. ""CS_SLINGLOADING""). When the script fired I got an error that didnt last long on the screen all i remember was it said "Error zero divisor" .
here is the script im calling:
["TRANSPORT",[[11695.9,11864.1,0],210,"B_Heli_Transport_01_camo_F","STAIRWAY 07","this setVariable [""CS_SLINGLOADING"", true]",""]] Call ALiVE_fnc_combatSupportAdd; ["CAS",[[11554.3,11815.5,0],210,"B_Heli_Attack_01_F","EAGLE 01","",""]] Call ALiVE_fnc_combatSupportAdd; ["PlayerLog"] call LARs_fnc_spawnComp;
Thanks.