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

Player Respaw into AI OPFOR

Recommended Posts

I have searched but not sure how to do this, as could not find a solution.

I have 1 Playable OPFOR (the rest are Bluefor) and I need that player to be able to Respawn into any OPFOR AI that is alive still, It is just to put a Human element into my OPFOR for my COOP missions.

Anyone know how I can do I this ?

Thanks

Share this post


Link to post
Share on other sites

use "side" respawn. The Player will respawn into any available playable AI. You'd have to set alot of playable units though ...

Share this post


Link to post
Share on other sites

That is not really what i am after, I am looking for 1 player who is OPFOR to be able to Re spawn into a Spawned OPFOR, Blue for are using Norrin Respawn so that is all taken care of

Is there a way to Jump / Swap into any AI OPFOR that is Spawned ?

Share this post


Link to post
Share on other sites

I don't really get what you want to do....Could you explain a little more?

Because if you want to re-spawn in a unit that you spawn you could just use the respawn_east marker...

Share this post


Link to post
Share on other sites

I think the units have to be playable and side or group respawn has to be used in order to respawn into other units. I could be wrong though.

---------- Post added at 04:35 ---------- Previous post was at 04:33 ----------

I don't really get what you want to do....Could you explain a little more?

Because if you want to re-spawn in a unit that you spawn you could just use the respawn_east marker...

He wants to respawn in any alive unit for opfor. Either pre placed or created by script

Share this post


Link to post
Share on other sites

I used this code once...Give it a try:

_men = nearestObjects [pos, ["Soldier_EB"], dist];
if (count _men > 0) then
{
BTC_old_group = group (_men select 0);
addSwitchableUnit (_men select 0);
setPlayable (_men select 0);
[(_men select 0)] joinSilent GrpNull;
selectPlayer (_men select 0);
};

@Iceman77

He can't use the "side respawn" 'cause he's using norrin revive...

Share this post


Link to post
Share on other sites
I think the units have to be playable and side or group respawn has to be used in order to respawn into other units. I could be wrong though.

@Iceman77

He can't use the "side respawn" 'cause he's using norrin revive...

Yup I got that part. I was simply saying that I thought side respawn was the only way. Turns out, you have a script. So I was wrong tongue.png

Edited by Iceman77

Share this post


Link to post
Share on other sites
I used this code once...Give it a try:

_men = nearestObjects [pos, ["Soldier_EB"], dist];
if (count _men > 0) then
{
BTC_old_group = group (_men select 0);
addSwitchableUnit (_men select 0);
setPlayable (_men select 0);
[(_men select 0)] joinSilent GrpNull;
selectPlayer (_men select 0);
};

@Iceman77

He can't use the "side respawn" 'cause he's using norrin revive...

thanks, where would i add that in the players ini or my main ini ?

Share this post


Link to post
Share on other sites

You have to set up a loop or a killed EH for the opfor unit...I don't know how the mission is structurated so i can't tell you what's the best way.

Share this post


Link to post
Share on other sites

Hey giallustio maybe the OP should look at your co21 A&S mission I think the code you have to switch into any opfor unit will work for him.

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  

×