Home   Help Search Login Register  

Author Topic: Script for obj completion  (Read 938 times)

0 Members and 1 Guest are viewing this topic.

Offline samsamps

  • Members
  • *
Script for obj completion
« 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 :)

Offline Carroll

  • Members
  • *
  • Mission Designer (MP-"well tryin to capiche"
Re: Script for obj completion
« Reply #1 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)

Offline samsamps

  • Members
  • *
Re: Script for obj completion
« Reply #2 on: 13 Oct 2008, 19:02:30 »
Diddn't know they could be linked, works fine now.

Thanks :)