Jump to content
Sign in to follow this  
dale0404

Classnames for OA groups?

Recommended Posts

Peeps, I have been scouring the forums and other sites but I honestly cant find the classnames for the group names that are in Operation Arrowhead, please help me!

What I am trying to do is something along these lines:

call{ units2 = 2 + Random 5; grp = [(getpos pu1), (configFile >> "CfgGroups" >> "East" >> "Insurgents" >> "Infantry" >> "INS_InfSquad")]

Obviously I am trying to call a group of Insurgents within Takistan but I know the name of the group is wrong, can someone pleae point me to the correct group names please?

Cheers

Dale

Share this post


Link to post
Share on other sites

Yes mate, I really did but thankyou for the response, hopefully this will give me a giant leap forward in the mission I am making.

Dude, thank you.

---------- Post added at 12:38 AM ---------- Previous post was at 12:28 AM ----------

grp = [(getpos pu1), (configFile >> "CfgGroups" >> "BIS_TK_INS" >> "Insurgents" >> "Infantry" >> "TK_INS_Group")]

I know its wrong but what is the correct syntax please? I want to create insurgents on a trigger.

Share this post


Link to post
Share on other sites

[position spawngroup, side player, (configFile >> "CfgGroups" >> "East" >> "BIS_TK_INS" >> "Infantry" >> "TK_INS_Group")] call BIS_fnc_spawnGroup

Edited by cobra4v320

Share this post


Link to post
Share on other sites

This is my trigger activation:

call{ units2 = 2 + Random 5; grp = [(getpos pu1), (configFile >> "CfgGroups" >> "East" >> "BIS_TK_INS" >> "Infantry" >> "TK_INS_Group")] call BIS_fnc_spawnGroup; [grp, (getMarkerPos "p"), 50] call BIS_fnc_taskPatrol;}

Activated by Blufor (me), but it doesnt work.. any ideas?

Cheers

Dale

Share this post


Link to post
Share on other sites

You are missing side.

call {units2 = 2 + Random 5; grp = [getMarkerPos "P", [color="Red"]side opfor[/color], (configFile >> "CfgGroups" >> "East" >> "BIS_TK_INS" >> "Infantry" >> "TK_INS_Group")] call BIS_fnc_spawnGroup; [grp, getMarkerPos "P", 50] call bis_fnc_taskPatrol}

Make sure you have a functions module on the map and at least one enemy unit with presence 0% add opfor=group this to the init line of this unit.

Edited by cobra4v320

Share this post


Link to post
Share on other sites

call{units2 = 5 + Random 5; grp = [(getpos m1),east,units2] call bis_fnc_spawngroup; [grp, (getMarkerPos "m"), 50] call BIS_fnc_taskPatrol;}

That definately works mate, so why would I need a side player variable?

Share this post


Link to post
Share on other sites

Because you just changed your script around from this

[position spawngroup, side, (configFile >> "CfgGroups" >> "East" >> "BIS_TK_INS" >> "Infantry" >> "TK_INS_Group")] call BIS_fnc_spawnGroup

to this

grp = [(getpos m1),east,units2] call bis_fnc_spawngroup

You are no longer calling in the specific BIS_TK_INS units.

I also just realized that all you would really need to do is this and you wouldnt need the extra unit on the map.

call {units2 = 2 + Random 5; grp = [getMarkerPos "P", [color="Red"]EAST[/color], (configFile >> "CfgGroups" >> "East" >> "BIS_TK_INS" >> "Infantry" >> "TK_INS_Group")] call BIS_fnc_spawnGroup; [grp, getMarkerPos "P", 50] call bis_fnc_taskPatrol}

And if you wanted more than one group use this:

for "_i" from 1 to 2 do { grp = [getMarkerPos "P", EAST, (configFile >> "CfgGroups" >> "East" >> "BIS_TK_INS" >> "Infantry" >> "TK_INS_Group")] call BIS_fnc_spawnGroup; [grp, getMarkerPos "P", 50] call bis_fnc_taskPatrol}

Edited by cobra4v320

Share this post


Link to post
Share on other sites

cobra4v320,

If I was a 'Lady' I would have all the babies you want, you are an absolute star.

Cheers mate.

Share this post


Link to post
Share on other sites

I believe you can also call in specific units then use your random count.

_pos = getmarkerPos "P";
_skill = [0.5, 1];
_side = EAST;
_units = ["RU_Soldier_SL", "RU_Soldier_TL", "RU_Soldier_AR", "RU_Soldier_AR", "RU_Soldier_LAT", "RU_Soldier_LAT", "RU_Soldier", "RU_Soldier"];

_newGroup = [_pos, _side, _units, [], [], _skill] call BIS_fnc_spawnGroup;

Parameter(s):

_this select 0: the group's starting position (Array)

_this select 1: the group's side (Side)

_this select 2: can be three different types:

- list of character types (Array)

- amount of characters (Number)

- CfgGroups entry (Config)

_this select 3: (optional) list of relative positions (Array)

_this select 4: (optional) list of ranks (Array)

_this select 5: (optional) skill range (Array)

_this select 6: (optional) ammunition count range (Array)

_this select 7: (optional) randomization controls (Array)

0: amount of mandatory units (Number)

1: spawn chance for the remaining units (Number)

_this select 8: (optional) azimuth (Number)

There are a ton of threads on this just google search BIS_fnc_spawngroup :rolleyes:

Edited by cobra4v320

Share this post


Link to post
Share on other sites
Peeps, I have been scouring the forums and other sites but I honestly cant find the classnames for the group names that are in Operation Arrowhead, please help me!

What I am trying to do is something along these lines:

call{ units2 = 2 + Random 5; grp = [(getpos pu1), (configFile >> "CfgGroups" >> "East" >> "Insurgents" >> "Infantry" >> "INS_InfSquad")]

Obviously I am trying to call a group of Insurgents within Takistan but I know the name of the group is wrong, can someone pleae point me to the correct group names please?

Cheers

Dale

Didnt seach very well did ya ;)

http://forums.bistudio.com/showthread.php?p=1663809#post1663809

Thats everything even weapons classnames

Share this post


Link to post
Share on other sites

hehe my bad i thought they were ;) you could always make your own groups... make it custom :)

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  

×