Jump to content
Sign in to follow this  
Ryousuke

Hostage Trigger Troubles

Recommended Posts

Hosted on a dedicated server. Mission has two hostages, Hostage1 and Hostage2. Both are player controlled, and are held by Opfor. Tasks have been set up so that their objective is to escape from a certain radius of a marker atop the compound, Blufor's task is to rescue all remaining hostages. But if one hostage died, the other still has a chance to escape, and blufor's task can still be completed if they rescue that remaining hostage. So I need to set up trigger conditions that will be set off when any of these parameters are met:

Hostage1 and Hostage2 leave the trigger radius alive.

Hostage1 leaves the trigger radius alive while Hostage 2 is dead.

Hostage2 leaves the trigger radius alive while Hostage 1 is dead.

The trigger, however, must NOT be activated if Hostage1 or Hostage2 leaves the radius of the trigger while Hostage2 or Hostage1 respectively are still alive. Effectively, all remaining LIVING Hostages must leave the zone. Any ideas on how I would go about doing this? I'm dumb and can't figure it out on my own.

Share this post


Link to post
Share on other sites

The problem you have is that leaving the trigger area and dying in it are to the trigger, essentially the same with code at it's simplest level.

Have you thought about a second, larger that covers your compound and some distance beyond it? When you hostage enters the larger zone he'll be in the outer trigger only, you know he's still alive AND has left the compound.

Share this post


Link to post
Share on other sites
The problem you have is that leaving the trigger area and dying in it are to the trigger, essentially the same with code at it's simplest level.

Have you thought about a second, larger that covers your compound and some distance beyond it? When you hostage enters the larger zone he'll be in the outer trigger only, you know he's still alive AND has left the compound.

I like the idea, but I'm not clever enough to figure out how I would do that. Assuming Code x is the code for task completion and failure and such, how would I go about doing that?

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  

×