Jump to content
Sign in to follow this  
pd3

Deciphering this bit of script to spawn a squad

Recommended Posts

I'm wondering about a specific variable:

GroupSquad1 = [getMarkerPos "Squad1", east, ["TK_INS_Soldier_TL_EP1","TK_INS_Soldier_3_EP1","TK_INS_Soldier_4_EP1","TK_INS_Soldier_AAT_EP1","TK_INS_Soldier_MG_EP1","TK_INS_Soldier_AR_EP1","TK_Soldier_Medic_EP1","TK_Soldier_EP1","TK_Soldier_AA_EP1","TK_INS_Soldier_TL_EP1","TK_INS_Warlord_EP1","TK_INS_Soldier_MG_EP1"]] call BIS_fnc_spawnGroup;
wp = GroupSquad1 addwaypoint [getMarkerPos "s1",[color="#FF0000"][size=3][u]20[/u][/size][/color]];
wp setWaypointType "MOVE";

What does this value do?

I'm using it as-is, and the AI seems like its skill is max'ed compared to just plopping down the same entities.

Is that what it is?

If not, how would I incorporate "setskill" into this to ensure that the script isn't spawning all-seeing sniper gods every time?

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  

×