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: Using grpnull in a trigger  (Read 682 times)

0 Members and 1 Guest are viewing this topic.

Milwot

  • Guest
Using grpnull in a trigger
« on: 23 Jun 2003, 04:26:45 »
I am trying to make a trigger so that if the player(a West Soldier) is too far from the leader(a Russian) , he is no longer part of the group. So I used:

Condition: Player distance RussianGuy > 10
Activation: Player setcaptive false; Player join grpnull

But there is something wrong with the "player join grpnull" - the player isn't "unjoined" from the group (and then shot).

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Using grpnull in a trigger
« Reply #1 on: 23 Jun 2003, 04:34:43 »
put [] around da player ;)

da line shud b

Activation: Player setcaptive false; [Player] join grpnull

:cheers:

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta