This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
arma2:missions [2015-05-03 04:58] snakeman changed briefing text, added high-command-dedicated-server link. |
arma2:missions [2015-05-18 18:37] snakeman added mission-file-name-length-limit link. |
||
---|---|---|---|
Line 78: | Line 78: | ||
[[arma2:missions:user-interface-dialog-resource|User Interface Dialog Resource]] guide. | [[arma2:missions:user-interface-dialog-resource|User Interface Dialog Resource]] guide. | ||
+ | |||
+ | |||
+ | ====== Trigger Activated Only By Players ====== | ||
+ | |||
+ | In mission editor create a trigger activated by players side, then put its condition line like this: | ||
+ | <code php> | ||
+ | this && ({_x in thislist} count playableUnits > 0) | ||
+ | </code> | ||
+ | Now the AI alone will not activate this trigger, there has to be player present. | ||
+ | |||
+ | |||
+ | ====== Mission File Name Length Limit ====== | ||
+ | |||
+ | [[arma2:missions:mission-file-name-length-limit|Mission file name length limit]] tells you how long file names you can load and save in mission editor. |