Jump to content
Sign in to follow this  
Tankbuster

random objective reveal

Recommended Posts

In the mission I'm working on now I have a main objective for the MP coop players to complete. Having done this, I want the game to give them secondary objective, a hostage rescue from a house at a new location. This, I can do.

What I'd really like to do though is have the game randomly choose from 4 or 5 new locations, where the house/hostage/terrorist might be.

Obviously, I'd need to accurately place the units inside the buildings. Some of the buildings I will use will be multistorey.

So, what's the best way of going about this? Should I;

1. Make all 5 locations, complete with markers, hostages and terrorists. At the start of the game, have the game decide which one to use and remove the others, then inform the players by a trigger when they complete the primary where the secondary is by means of an unhide?

2. When the primary is complete, then choose and generate the location of the secondary?

3.Another method someone else, better qualified might think of?

Regards,

Tanky -Paul-

Share this post


Link to post
Share on other sites

I'd go with the first alternative. If I play a mission and go to some house in Ortego, for example, and found noone there - it would be kind of awkward if there suddenly was a group of dug in hostiles after the completition of an objective (same if there exist a hostage which is not the correct hostage etc).

Share this post


Link to post
Share on other sites

I agree, the first would be easier I should think. To delete them, all you need is an anybody trigger over each and delete all units inside of the ones not used. The code for that would be much shorter then the code to set up the proper one.

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  

×