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

Arma2 conditions

Recommended Posts

Can you send me the list of all arma2 conditions that will work perfectly on Arma2?

Share this post


Link to post
Share on other sites

I think he wants all scripting commands that return a boolean (true/false), but I can't find such a page in the wiki.

Share this post


Link to post
Share on other sites

There are the simple ones like hasWeapon and alive... but you can make almost anything return true/false to use as a condition, like distance or even check the value of a variable you've created.

Is there a specific thing you're trying to figure out how to make a condition for?

Share this post


Link to post
Share on other sites
I think he wants all scripting commands that return a boolean (true/false), but I can't find such a page in the wiki.

BIS Game Enginge Scripting Commands. ;)

@Cobra5000

All conditions that were working in ArmA are working in ArmA II as well. Even OFP conditions should work.

Share this post


Link to post
Share on other sites

We could try to collect all predicates and logical operators and create such list.

A better list of all commands for ArmA2 you'll find in the Biki:

http://community.bistudio.com/wiki/Category:Scripting_Commands_ArmA2

in the category "#" you can find all logical operators like AND (&&), OR (||), == and so on.

Then, every command that starts with "is" is a predicate as well as every command that starts with "has", which is only "hasWeapon" atm.

Then I remember "lock" and "engineOn" and "alive".

Oh, and of course:

true and false are conditions itself

Everyone is welcome to add stuff.

Share this post


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

×