Jump to content
Sign in to follow this  
Wadi

'condition of presence'

Recommended Posts

I tried making a trigger with 'Camp=true' in it, and put 'camp' in the condition of presence box of a load of units, but it didn't work! How do you use the condition of presence box of units?

Share this post


Link to post
Share on other sites

I think you put a decimal number in it and that, converted to a percentage, is the chance that unit has of appearing each time the mission is run.

Share this post


Link to post
Share on other sites

You must use your "camp=true" in init.sqs . It can not be done during mission. You can add soldiers/vehicles only by createUnit and createVehicle after mission is loaded.

Share this post


Link to post
Share on other sites

Errm - sorry, but i've already got the idea of

creating the ultimate random mission by using

randomed conditions in their soldiers init fields:

Forget it.

You can try following: give the group leader a name (guy1)

and into his soldiers condition of presence fields, just type:

alive guy1

Now you can play around with the percentage level of

the leader (probability of presence field) by setting it

for example to: 50%

This would give you a 50/50 chance of presence for the

whole squad.

Also it doesn't help, to use variables switching true/false by

init.sqs, because the units will be placed onto the map,

before init.sqs is executed.

Ah yes, the way by using create unit/vehicle i agree, is

the only one, where you could do it during the mission.

~S~ CD

Share this post


Link to post
Share on other sites

ok. soz. obviously thinkin of the wrong box. maybe thinkin of boxes too much.....

Share this post


Link to post
Share on other sites

Edit: I can't read, just repeated what Chris Death said.

BTW what does the 'age' (from memory) of the unit do? Normally it's set to Unknown I think but can be set to 5mins, 10mins etc.

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  

×