Jump to content
Sign in to follow this  
kocrachon

Probability of Spawn?

Recommended Posts

Hello Everyone,

I am currently trying to make a mission where my special operation forces team is moving into a town to capture an enemy office. The way I want to do this, is to make it to where he could be in 1 of 5 locations.

Now, the way I currently thought about doing it, is I have him in 5 locations, and I would use the possibility of presence slider to help me make it to where only one of the 5 spawns.

My question now is, how do I put into the condition field to where Office CLone 2 only spawns of Office Clone 1 is not present, and so forth? Thanks for the help.

Share this post


Link to post
Share on other sites

There is a much, much easier way to achieve this:

Place the officer in one of the positions you want him to appear. Next place empty markers at each additional position, when done press F2 and connect the officer with each of these markers (you don't see them after you pressed F2 so you need to remember their positions). Now each time you start the mission the officer appears either in its original position or at one of the markers.

positionsng2.th.png

Share this post


Link to post
Share on other sites

Works great, now my only question is, he is going to be inside of buildings, will this work with the setunitpos and all of that if each building is of a different elevation or a different floor I want him on?

Share this post


Link to post
Share on other sites

Crap I expected that... No by default this works only if the target is always in the same height. setPos works of course, but not different heights.

With a little trick and additional work it could be achieved though: Place a trigger which is just big enough to cover the place the officer is placed at (2x2 meters should do) at each target building, activated by the officer and if he is placed there you use setpos to place him at the according height.

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  

×