OFPEC Forum

Editors Depot - Mission Editing and Scripting => ArmA - Editing/Scripting General => Topic started by: samsamps on 09 Oct 2008, 19:23:05

Title: Script for obj completion
Post by: samsamps on 09 Oct 2008, 19:23:05
I'm trying to figure out how to to make it so that a named unit(s) completes an objective when it reaches a specific area without using waypoints.

I was thinking it would be set up with a bluefor present repeating trigger that checks if the named unit (or array of units) are present in the trigger area and if true it sets the objective_done to true.

The problem is that I dont know how to set it up to check for a named unit or array of units (i'm going to end up needing both the method for named unit and array of units for two seperate objectives and triggers)

Thanks :)
Title: Re: Script for obj completion
Post by: Carroll on 10 Oct 2008, 05:07:46
A simple way would be to group the unit to a trigger (not sure if this is what you be needing)
Title: Re: Script for obj completion
Post by: samsamps on 13 Oct 2008, 19:02:30
Diddn't know they could be linked, works fine now.

Thanks :)