Sanchez_ESUS

Member

Last active 2 years ago

  1. 4 years ago
    Wed Jun 5 15:01:25 2019
    Sanchez_ESUS posted in ALIVE and Headless Clients.

    Thanks!!

  2. Sun May 26 12:31:14 2019
    Sanchez_ESUS started the conversation ALIVE and Headless Clients.

    Hi i would like to know how alive manage AI on HC. Im not sure but i think alive balance AI between connected HC. We are using more than 2 HC in our missions. Alive use all HCs connected or only one?

    If i spawn normal no profiled AI via script in one of HC, when alive balance AI on HC count it??

    Thanks!

  3. 5 years ago
    Wed May 30 09:24:00 2018

    I think something like this help you.

    killed_hvt_1 = "killed_hvt_1" call ALiVE_fnc_ProfileNameSpaceLoad;
     
    if !(isnil "killed_hvt_1") then {
        
    hvt_1 setdamage 1;    
    deleteVehicle hvt_1;
    
    };
    

    Variable dont knows what you refer when you save it with killed_hvt_1. You must define at mission start what to do if is true or false. In example if variable is defined as true, it kills hvt and deletebody at mission start. Your task module set task to succeeded when check if hvt_1 is alive.

  4. Wed May 30 09:13:07 2018
    Sanchez_ESUS started the conversation Saving more than one array on profilenamespace.

    Hi, im using function to save an array of markers and in second instance an array of map objects to ProfileNameSpace with function ALiVE_fnc_ProfileNameSpaceLoad/Save. I made it with different scripts executed on mission start. Both work separately but if i exec both have an script error when i check if second variable exists.

    Thats the way i used to exec scripts via initserver.sqf.

    -_cache_spawn create boxes on array of markers, if markers are not defined in profile name space it defines. When a box is destroyed, marker is deleted of array and save to profilename space. Next time mission starts only create box at markers array without markers where you destroyed a cache.

    -_ant_task select antennas of a classname on map, save to an array and when you destroy one of this, eventhandler deletes from this array an pass to a destroyed antennas array. Next time mission start, script destroy antennas of this array at mission start.

    _cache_spawn = execVM "scripts\cache.sqf";
    waitUntil {scriptDone _cache_spawn};
    
    _ant_task = execVM "scripts\ant.sqf";
    waitUntil {scriptDone _ant_task};

    Both scripts works perfect separately and both script works if i call it first than the other.

    _cache_spawn, this the way i check if array exist at profilenamespace and if not define it.

    cacheMkr = "cacheMkr" call ALiVE_fnc_ProfileNameSpaceLoad;  
    
    sleep 10;
    
    if !(cacheMkr isEqualType []) then { 
    
    cacheMkr = [
    	"cache_mkr_1",
    	"cache_mkr_2",
    	"cache_mkr_3",
    	"cache_mkr_4",
    	"cache_mkr_5",
    	"cache_mkr_6",
    	"cache_mkr_7",
    	"cache_Mkr_8"	
    		
    	];
    	
    ["cacheMkr", cacheMkr] call ALiVE_fnc_ProfileNameSpaceSave;
    
    };    

    _ant_task, this the way i check if array exist at profilenamespace and if not define it.

    ant_array = "ant_array" call ALiVE_fnc_ProfileNameSpaceLoad;
    
    sleep 10;
    
    if !(ant_array isEqualType []) then { 
    
    	ant_array = nearestTerrainObjects [center, ["TRANSMITTER"], 9999, false, true];
    	_class = "Land_TTowerBig_1_F","Land_TTowerBig_2_F";
    
    	{ 
    
    			if !(typeOf _x == _class) then {ant_array = ant_array - [_x]}; 
    
    	} foreach ant_array;
    
    	publicVariable "ant_array"; 
    	["ant_array", ant_array] call ALiVE_fnc_ProfileNameSpaceSave;
    
    	{ 		
    		
    			 des_ant_array = [];
    			 publicVariable "des_ant_array";
    			 ["des_ant_array", des_ant_array] call ALiVE_fnc_ProfileNameSpaceSave;
    	
    };
    
    des_ant_array = "des_ant_array" call ALiVE_fnc_ProfileNameSpaceLoad;
    
    
    sleep 10;
    
    	if (count des_ant_array > 0) then {
    	
    	
    			{
    			
    			_x setDamage 1;
    			
    			
    				} foreach des_ant_array;
    		
    		};	
    

    Both scripts have more lines, but i only post code when i check if array exist in profilenamespace because i understand problem is there.

    I know example you give in wiki but i understand this is only for a boolean (true/false) variable, it gives always error for this case:

    _scriptStarted = "ScriptStarted" call ALiVE_fnc_ProfileNameSpaceLoad;
     
    if (isnil "_scriptStarted" || {!_scriptStarted}) then {
        // start script
        ["ScriptStarted", true] call ALiVE_fnc_ProfileNameSpaceSave;
    };
    

    Was difficult to explain this in this post, i wish you can understand and help me.

    Thanks and great job with alive!!

  5. Mon May 7 20:32:16 2018
    Sanchez_ESUS posted in C2iSTAR Custom Task Template.

    Hi!,

    it is possible to define this task at mission folder an C2ISTAR autotask use it defined at staticdata.sqf?

    thanks!!

  6. 8 years ago
    Sun Apr 12 08:12:35 2015
    Sanchez_ESUS posted in VIDEO TUTORIALES ALIVE en español.

    Added one more. In this case IED module.

  7. Thu Apr 9 20:05:57 2015
    Sanchez_ESUS posted in VIDEO TUTORIALES ALIVE en español.

    New video!!!

  8. 9 years ago
    Tue Dec 30 09:48:58 2014
    Sanchez_ESUS posted in Esbekistan Map.

    Hi, i talked with greenberet by youtube and he told me FFAA team is working to port esbekistan and other maps to Arma 3 and release with next FFAA mod version. If you walk in ground theres no problem in esbekistan, but try fliying a helicopter and look for mountain textures out of position.

    I think alive team is waiting for this fix. Esbekistan in arma 3 will be one of best maps.

    Regards

  9. Sun Dec 28 12:05:36 2014
    Sanchez_ESUS posted in Alive Saboage mission.

    Thanks!!!!

  10. Sun Dec 28 12:04:19 2014
    Sanchez_ESUS posted in VIDEO TUTORIALES ALIVE en español.

    Of course, it will be a pleasure for me to colaborate with Alive mod.

View more