whiplash_FR 3 Posted September 20, 2016 Hi everybody, I'm not an expert in scripting that's why I came here today. I've already looked on the forum but didn't find what I was looking for. I'm also not really sure how to call it... I am creating a mission where I can pick up intels on different location. I would like to activate a trigger once a certain amount of intel has been retrieve. I've seen this post but couldn't make it work http://www.armaholic.com/forums.php?m=posts&q=16143 My idea was to increment a value like above each tyme I am retrieving an intel I have this on act: intel=intel+1 Then in the "final" trigger I have on cond: intel=2 If anyone could point me the right direction. Share this post Link to post Share on other sites
Grumpy Old Man 3546 Posted September 20, 2016 intel=2 this basically defines intel as 2. you need to use a comparison operator, like this: intel >= 2 //read: "intel bigger than 2" will return true if intel is 2 or bigger. Cheers 1 Share this post Link to post Share on other sites
Tajin 349 Posted September 20, 2016 You'll have to initialize the intel variable first, so put that somewhere in your init: intel = 0 Also note that there's a difference between "=" and "==". = is to set values == is for comparison I'd recommend you to do some reading: https://community.bistudio.com/wiki/Category:Scripting_Topics Share this post Link to post Share on other sites
whiplash_FR 3 Posted September 20, 2016 I feel so stupid right now... Of course intel=2 put intel at this specific value ! Thanks a lot mates! Share this post Link to post Share on other sites