Welcome to Ghost Recon.net Forums

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Sign in to follow this  
Followers 0
teppe

[How to stop soul switching?]

Is it possible to let a mission in begin with that you of course choice your soldiers. But when you then start the mission, can you then do so that you only are controlling 1 person, a person that you haven't choice as soldier, but are in the mission, and then you can't be the others soldiers, and they are also following the person, and if the man you are die, then the mission is over?

Teppe

Share this post


Link to post
Share on other sites

AvatarSwitchingOff response in the startup block will keep players from switching soldiers.

Note that this can be bypassed by switching to observer mode, changing to another soldier, and turning off observer mode.

You can have it end the mission when the PlayerControlledActor dies, but this will only work in SP.

Share this post


Link to post
Share on other sites

So i can let the player be one soldier?

Teppe

Share this post


Link to post
Share on other sites

Yes, that will keep them from switching soldiers. You can also use a loop to hide the other AI on the team if you want.

Group: Default

Trigger: Startup

Responses:

Use HideAI loop to loop over all members of player platoon.

Group: HideAI

Trigger: LoopActors (a loop is ready to procces This Actor <make a new actor ref called this actor>)

Responses:

BlockPreserve

Continue if compare things (if this actor is not equal to the player controlled actor

Hide This Actor

Edited by rileyfletcher_01

Share this post


Link to post
Share on other sites

But can i let the player control 1 soldier, that he hasn't chocied in the platoon selection, but that there are placed on the map. An actor?

Teppe

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0