Warning: include(/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php): failed to open stream: No such file or directory in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Warning: include(): Failed opening '/var/www/html/forum/Sources/../../../includes/depot_files/OFPEC_get_header_image.inc.php' for inclusion (include_path='.:/usr/local/lib/php') in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 146

Notice: Undefined index: OFPEC in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152

Notice: Trying to access array offset on value of type null in /var/www/html/forum/Sources/Load.php(2272) : eval()'d code on line 152
    Home   Help Login Register  

Author Topic: Ughhh I have given up! :(  (Read 12695 times)

0 Members and 1 Guest are viewing this topic.

CptBravo

  • Guest
Re:Ughhh I have given up! :(
« Reply #30 on: 11 Dec 2004, 21:37:01 »

2)thats what i was thinking of, but then everybody would be the same group


But if we have 3 different trigs over 3 different spawn objects in different locations  .. can we name soldiers spawning in each trig point a different group name?

Thanks

Offline Triggerhappy

  • Contributing Member
  • **
  • Llama, it's what's for dinner.
Re:Ughhh I have given up! :(
« Reply #31 on: 12 Dec 2004, 04:30:59 »
whoa! my bad, the group name is a global variable, so you would only have the name of the group of the last person to spawn there.
maybe something like:
activation:counter = counter + 1;call format ["group%1",counter] = group this

then everytime a unit spawns they will have their own group name, i think.
group1
group2
etc

you would need to give counter a value of zero in init so that will work
« Last Edit: 12 Dec 2004, 04:31:44 by Triggerhappy »