OFPEC Forum

Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Milwot on 23 Jun 2003, 04:26:45

Title: Using grpnull in a trigger
Post by: Milwot 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).
Title: Re:Using grpnull in a trigger
Post by: LCD 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