Jump to content
Ghost Recon.net Forums

Recommended Posts

Ok in the mission im scripting Your objective is to take a prisoner. I don't want a specific guy I want you can take any of the enemys prisoner if they give up.

I know how to get a prisoner if certain people die or u get within a certain distacne but how will I do it if there will be a chance to take any enemy prisoner?

Link to post
Share on other sites

Never tried this but here is my 2 cents:

Set up a loop that checks proximity for playerplatoon to any actor on enemy company

As soon as the required parameters kicks in; redirect or cancel the loop (from within the loop itself.

Before canceling, set the current enemy actor being looped to hostage or captive behavior.

Then bump him and take him with you.

Store his variable_actor_name (from the loop) to check if they manage to extract him at a later stage.

If you wanna put in some fun, check if they outrun him by i.e. 10 meters after they have captured him. Then trigger a triggerplan for him that makes him try to escape (i.e. set a pathpoint at centre of map and make him run full speed to that one)

Hope this helps

Enjoy

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...