Jump to content
Sign in to follow this  
Crutch :o

Trouble with grpnull

Recommended Posts

how does it work? im putting it in the 'on activation' field in a trigger OR on a waypoint and i still cant get myself booted from a group. the format im trying to use is the format i see in the tutorials out there i.e. unitname Join GrpNull. i get an error something like this 'Alpha join grpnull;|#|error object, expected array.' or something like that. need to be able to remove myself from the group, can anyone help?

Share this post


Link to post
Share on other sites

here's some background detail on what im tryin to do in case it will help.

im creating 2 officers and 2 groups. i play one of the officers, i have named him Alpha (i want to setgroupID to alpha on the group i need to join and lead in the near future) the other officer is standing 20meters away. i run over and join and follow him as a 'temporary' group to watch the front. now that im in his group i follow his waypoints ,which are locked till east gets over a hill and activates a trigger, when this happens he orders me into a jeep and drives me back to the base. when we get to the final waypt in the base i have in the 'on activation' field of the last waypoint this line Alpha join grpnull . and thats it. but it wont boot me from that officers group. ive also tried the reverse with using the other officers name but it still will not ungroup us. ive also added this to a trigger over the final waypoint, no luck.

am i using the correct format? ive also experimented with it with me as a member of a full group and in many other ways. i always get an error when i get to the waypoint with that in the activation field. the error is something like Alpha join grpnull;|#|, object error, expected array.

any thoughts?

Share this post


Link to post
Share on other sites

join command works only with array of units, not with single unit. So if you want kick yourself from group use :

[player] join grpnull

Share this post


Link to post
Share on other sites

cool thanks, that worked. i figured i needed something in brackets since it was giving me an array error.

now for another question.

once i have been booted from the group i need to have waypoints to go join and lead another group. so far my player has 3 waypoints, the first is a 'join' wpt, where i go join another officer watching the front line. then i have a 'move' wpt and a 'join and lead' wpt. i was hoping the 'move' and the join and lead' wpt would pick up after i was booted from the other officers group but it doesnt. how do i get those other waypoints to show up after i leave the officers group to go join and lead my squad?

Share this post


Link to post
Share on other sites

After you join another group you automatically lost other wpts made for you. You are ordered by your new group wpts.

If you want join group,leave group and lead another group :

Create join wpt for player

create join and lead,move,join and lead for 1st group you'll join.

Then don't kick yourself from 1st group, but kick other members of this group.

[man1,man2,man3] join grpnull.

Share this post


Link to post
Share on other sites

wow cool thanks man. i think i got it from here, i just set up the waypoints for the leader, then when the time comes ill have him join group null, and ill have the waypoints i assigned for him.

thanks for your help.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×