Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
David_Draven

Condition of presence usage

Recommended Posts

Hello.

ArmA 2 is my first exposure to the series, so I don't have the background of the other games like many appear to have. I've been searching and researching how to make missions and scripting sounds fairly straight forward, but trying to work out where a line of code goes is hell (as most people seem to assume we all know where to use it).

An example of one of the many problems I am having:

I name a helicopter Helo1 and set it's Probability slider at 50%.

I place a Pilot and a Crewman, and in each of their Condition of Presence boxes I remove the word "true" and replace with "alive Helo1".

I am under the impression that if Helo1 exists, then the line alive Helo1 will evaluate to true and the Pilot and Crewman will also exist.

What am I missing? Are there supposed to be brackets, question marks or anything else in the Condition of Presence box? Am I following the wrong advice? As it is, the Pilot and Crewman never appear even though the helicopter appears 50% of the time.

Does anyone have any reasonable suggestions?

Share this post


Link to post
Share on other sites

That thing was driving me crazy many months back too.

You need to do it the other way around:

Place a pilot; give it a unique name, e.g. pilot1 and set his presence to 50%. Then you add the 2nd pilot and in his presence condition type (alive pilot1), same with the helicopter.

Share this post


Link to post
Share on other sites

Ahh... awesome. Thanks for the quick reply.

I'll try that as soon as I get home.

Much appreciated.

Share this post


Link to post
Share on other sites
Sign in to follow this  

×