Jump to content
Sign in to follow this  
Thats_Life 2.0

Switch to unit 2, leader does not move.

Recommended Posts

Okee I have made a mission witch 2 soldiers.

One is the player and one is playable (for COOP).

When I give the player waypoints (playable is grouped with the player) and i don't switch to the playable everything works as normal.

Only when I do switch to unit2 the player (leader and AI) does not walk to the waypoints. I get all the orders, but he never leaves his place.

Is there a way to get this okee? Do I missing a code?

Hope you can help..

Greetz Thats Life 2.0

Share this post


Link to post
Share on other sites

I think that's just a bug, because you can see it in some of the official missions as well. One example is the mission where a bunch of guerilla's try to take revenge from some chedaky at night, and the player is allowed to switch between the members of the team, though whoever the player was previously playing as just stands there and does nothing.

Actually, if you were to switch from a squad member to a squad leader, you can get your previos character (the squad memeber) to work fine by issueing him a new order, for example "regroup".

To switch from squad leader to a member, I tried the script bellow to reissue orders to the squad leader, though it didn't work, because he keeps on giving us orders whilst just standing in one spot:

while {true} do {

if (player != s1) then {
s1 move [5,5,0];
terminate "MyWaypointProcedure";
};
sleep 2;
};

I would like to know the solution to this problem also.

Edited by kyfohatl

Share this post


Link to post
Share on other sites

I do not think this is a bug, in the 'true sense'. It appears to be design that has never been improved upon. I don't know if a ticket has ever been written on this. Maybe it is a bug? Anyway...

For the mission described in the OP, a single human player has to either start out in the # 2 position, and stay there, OR, start out as 'the leader', and know that is where he will play from, for the most part.

If I have a mission like that, as leader, I will only switch to playable to get a unit unstuck, or to rearm, etc. Then, go back to leader, and issue, as stated, regroup (or whatever).

So, no, I do not beilieve there is anything you can do to correct this problem.

EDIT: Clarification (somewhat).

Edited by CyOp

Share this post


Link to post
Share on other sites

Hmm. Is there a code to disable the switch between the 2 units. The mission is for singleplayer and coop, so one unit must be player and one playable.

Share this post


Link to post
Share on other sites
Hmm. Is there a code to disable the switch between the 2 units. The mission is for singleplayer and coop, so one unit must be player and one playable.

Have you actually saved the mission as MP (COOP) and then played it?

Anyway, to accomplish what you want, you may need to save the game as two dif missions, with player, player slots, as you want. For instance, for MP (COOP), have both units playable.

Share this post


Link to post
Share on other sites
Have you actually saved the mission as MP (COOP) and then played it?

Anyway, to accomplish what you want, you may need to save the game as two dif missions, with player, player slots, as you want. For instance, for MP (COOP), have both units playable.

I understand, but I want the mission to play as singleplayer and as coop. So I like to have one file to post.

Because its a part of my campaign. So there is no way or code to disable the option to switch between units? Thats ashame.

Guys thanks allot for the explanation.

If someone else know something. Let me know..

Thats_Life 2.0

Share this post


Link to post
Share on other sites
Try this link, it lists all switch related commands. I know team switch can be disabled. Hope it helps. http://community.bistudio.com/wiki/Team_Switch

Damm your the man. It worked!

I put this code in the init from the units: removeSwitchableUnit unitName

It now does not show it in the menu.

Thanks allot people..

Share this post


Link to post
Share on other sites

Hold on.

Edited by CyOp

Share this post


Link to post
Share on other sites
For a short thread, this one is confusing.

From the OP, my whole train of thought was about him not being able to get the leader to work when switching, not disabling the switching. Hell, to disable the switching, you would just not make the other unit playable, and add switchable.

I missed that he kind of changed direction midstream. Had the OP read...

mission, 2 units, in SP be able to switch to unit 2, in MP only show unit 1...

that would have sunk in a little better. :)

Sorry I did not 'get you, Thats_Life 2.0. (I should have come in at the rear of this thread, like AZ.)

Yah maby also my fault, but I thought it is not possible to let follow the leader to the waypoints when you are unit 2. So disable the function to switch is easer.

Or is there a easy way to only disable this in singleplayer without have multiple files?

Share this post


Link to post
Share on other sites
Okee I have made a mission witch 2 soldiers.

One is the player and one is playable (for COOP).

When I give the player waypoints (playable is grouped with the player) and i don't switch to the playable everything works as normal.

Only when I do switch to unit2 the player (leader and AI) does not walk to the waypoints. I get all the orders, but he never leaves his place.

Is there a way to get this okee? Do I missing a code?

Hope you can help..

Greetz Thats Life 2.0

For a short thread, this one is confusing.

From the OP, my whole train of thought was about him not being able to get the leader to work when switching, not disabling the switching. Hell, to disable the switching, you would just not make the other unit playable, and add switchable, or...

just the opposite for COOP. Make the unit playable and then removeSwitchableUnit, which is what he finally did.

I missed that he kind of changed direction midstream. Had the OP read...

mission, 2 units, in SP be able to switch to unit 2, but in MP show both units, that would have sunk in a little better. :)

Sorry I did not 'get you, Thats_Life 2.0. (I should have come in at the rear of this thread, like AZ.)

EDIT: D A R N... we got each other again while editing. LOL :D Delete my 'other' quote! :p

---------- Post added at 04:56 PM ---------- Previous post was at 04:48 PM ----------

(Sorry, but I thought he might be editing again.)

The leader not working while switching has been around forever. No fixing that.

From what I can tell, you did about all you could do to get close to what you wanted, with out making multiple files.

This thread is embarrasing for me. I need a nap!

Edited by CyOp

Share this post


Link to post
Share on other sites
For a short thread, this one is confusing.

From the OP, my whole train of thought was about him not being able to get the leader to work when switching, not disabling the switching. Hell, to disable the switching, you would just not make the other unit playable, and add switchable, or...

just the opposite for COOP. Make the unit playable and then removeSwitchableUnit, which is what he finally did.

I missed that he kind of changed direction midstream. Had the OP read...

mission, 2 units, in SP be able to switch to unit 2, but in MP show both units, that would have sunk in a little better. :)

Sorry I did not 'get you, Thats_Life 2.0. (I should have come in at the rear of this thread, like AZ.)

EDIT: D A R N... we got each other again while editing. LOL :D Delete my 'other' quote! :p

---------- Post added at 04:56 PM ---------- Previous post was at 04:48 PM ----------

(Sorry, but I thought he might be editing again.)

The leader not working while switching has been around forever. No fixing that.

From what I can tell, you did about all you could do to get close to what you wanted, with out making multiple files.

This thread is embarrasing for me. I need a nap!

Thanks for the help.

Nice napping ;)

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  

×