Home   Help Search Login Register  

Author Topic: Working with Teams through script  (Read 408 times)

0 Members and 1 Guest are viewing this topic.

Kammak

  • Guest
Working with Teams through script
« on: 17 Sep 2004, 19:29:52 »
Is there any way to work with the user-defined "Teams" through script?  Specifically, I want to find out who is in a specific colored team, if anyone.  Is it possible?

Offline h-

  • OFPEC Site
  • Administrator
  • *****
  • Formerly HateR_Kint
    • OFPEC
Re:Working with Teams through script
« Reply #1 on: 17 Sep 2004, 22:20:53 »
???
Dunno...

Altough you could try formLeader... (formLeader unit)

"Formation leader for given unit, for dead units ObjNull. This is often the same as groupleader, but not always" - ComRef

The last sentence would suggest that this could perhaps maybe seem (vague enough ::) ) with any luck return the leader of that user defined team...
But detecting who's in it... Dunno...
Project MCAR   ---   Northern Fronts   ---   Emitter 3Ditor
INFORMATIVE THREAD TITLES PLEASE. "PLEASE HELP" IS NOT ONE..
Chuck Norris can divide by zero.