Home   Help Search Login Register  

Author Topic: setGroupId  (Read 1440 times)

0 Members and 1 Guest are viewing this topic.

yankme

  • Guest
setGroupId
« on: 30 Oct 2005, 01:16:11 »
what id like is when i call a trigger, have bravo team 4 or a way to specify my group instead of west, east, anyone, alpha, ect ,
does it have to be in the init file aswell , setGroupId or setsomethingId?

  and on radio too  ::) please ,,,,,
« Last Edit: 30 Oct 2005, 01:17:14 by yankme »

Dane

  • Guest
Re:setGroupId
« Reply #1 on: 30 Oct 2005, 11:07:39 »
bravoteam4=group this; setGroupId ["Bravo", "GroupColor4"] in loon's init.

If you want to use custom callsigns then download Student Pilot's tut on this page:
http://www.ofpec.com/editors/list.php?show=updated&t=&setnumperpage=50
« Last Edit: 30 Oct 2005, 11:09:55 by DaneDK »

Serial Killer

  • Guest
Re:setGroupId
« Reply #2 on: 30 Oct 2005, 11:53:17 »
bravoteam4=group this; setGroupId ["Bravo", "GroupColor4"] in loon's init.

I think it's ...; bravoteam4 setGroupId ["Bravo", "GroupColor4"]

yankme

  • Guest
Re:setGroupId
« Reply #3 on: 30 Oct 2005, 12:36:05 »
bravoteam4 = Group ap; this setGroupId ["Bravo", "GroupColor4"]  was what ive been trying the ap is player

bravoteam4 setGroupId ["Bravo", "GroupColor4"] this does something

sorry, bravoteam4=group this; setGroupId ["Bravo", "GroupColor4"] in loon's init.   is an error

   iam betting some little thingy is being over looked on my part here,,,,,,,,,iam off to see what  good ol' Student Pilot's got going on, thanks guys ;D

Offline rado1265

  • Members
  • *
Re:setGroupId
« Reply #4 on: 30 Oct 2005, 13:41:11 »
Try:

bravoteam4 = group this; this setGroupID ["Bravo", "groupColor4"]

Dane

  • Guest
Re:setGroupId
« Reply #5 on: 30 Oct 2005, 14:36:16 »
Sorry
Quote
bravoteam4 setGroupId ["Bravo", "GroupColor4"]
is correct.

Offline rado1265

  • Members
  • *
Re:setGroupId
« Reply #6 on: 30 Oct 2005, 16:35:02 »
However, the effect is the same, mate.

Dane

  • Guest
Re:setGroupId
« Reply #7 on: 30 Oct 2005, 20:59:18 »
Yes indeed ;)
That's just because i usually assign groups in initfields and groupID's in init.sqs to keep the initfields nice and tidy.
But that's just me.

yankme

  • Guest
Re:setGroupId
« Reply #8 on: 31 Oct 2005, 05:11:18 »
thanks guys,,,,, :),, your both right, and student pilot's tute is very easy to use, pics in a tute is allways helpful, ' i ALLWAYS assemble kids toys that way  :P'