Jump to content
Sign in to follow this  
1para{god-father}

Change Skill after or during spawn

Recommended Posts

I am spawning a group in , and have noticed that for some reason they have all there skill's set to "1", no wounder they are so blody good ! , I found this out when i used the "Enhanced Skills Slider" , no matter what i set the server to they allways are "1" - even when i start the server in Recruit ? ( they do change when i use the Mod)

So is there anything in code I can do or need to do to change this , - I know i can use above Mod , but i really would like to spawn them in with set skills rather than then being Aimbots at the start.

Thanks

_grpbuild1 = [getMarkerPos "marker_house1", EAST, (configFile >> "CfgGroups" >> "EAST" >> "INS" >> "Infantry" >> "INS_InfSquad")] call BIS_fnc_spawnGroup;

Share this post


Link to post
Share on other sites
I am spawning a group in , and have noticed that for some reason they have all there skill's set to "1", no wounder they are so blody good ! , I found this out when i used the "Enhanced Skills Slider" , no matter what i set the server to they allways are "1" - even when i start the server in Recruit ? ( they do change when i use the Mod)

So is there anything in code I can do or need to do to change this , - I know i can use above Mod , but i really would like to spawn them in with set skills rather than then being Aimbots at the start.

Thanks

_grpbuild1 = [getMarkerPos "marker_house1", EAST, (configFile >> "CfgGroups" >> "EAST" >> "INS" >> "Infantry" >> "INS_InfSquad")] call BIS_fnc_spawnGroup;

This should work adding to the script

_grpbuild1 = [getMarkerPos "marker_house1", EAST, (configFile >> "CfgGroups" >> "EAST" >> "INS" >> "Infantry" >> "INS_InfSquad")] call BIS_fnc_spawnGroup;

{

_x setskill ["aimingAccuracy",0.75];

_x setskill ["spotDistance",0.95];

_x setskill ["spotTime",0.85];

_x setskill ["courage",0.85];

_x setskill ["commanding",0.85];

_x setskill ["aimingShake",0.65];

_x setskill ["aimingSpeed",0.85];

} foreach units _grpbuild1 ;

Then just play around with the values to alter their skill settings.

Edited by Koni

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×