OFPEC Forum
Editors Depot - Mission Editing and Scripting => OFP - Editing/Scripting General => Topic started by: Friznit on 07 May 2003, 17:47:14
-
OK. Frustration. I'm kinda new ti this. Bear with me please.
Why won't this work?
1. Pilot group leader's init field: pilgrp = units group this;
2. Player group ldr's init: mygrp = units group this;
Radio Trigger set to Radio Alpha. On Act:
"_x join mygrp" foreach pilgrp
3. Actually, anything with the JOIN comd in it ain't working. Can't even get a unit to join another at a WP (this join mychap)??????????
HELP appreciated.
cheers
So far, no probs.
-
I assume you tried creating a JOIN and one JOIN AND LEAD WPs for the 2 groups and sinchronize them, didn't you? This always works...
Anyway, i used this command
pilgroup = group this
without the "units" and
"_x join mygrp" foreach unit pilgrp
and everything worked
hope this help. :P
simon
-
Instead of:
"_x join mygrp" foreach...
write this:
"[_x] join mygrp" foreach...
-
"[_x] join mygrp" foreach...
well... of course ;D
unitArray join group
forget my sintax :)
simon
-
Thanks guys. Appeared to be a syntax prob.
Trying to do this without WPs for more versatility - ie. a variety of simple reinforcement demands by radio.
Guess I could just use the SP/MP Spt Pack, but how would you learn anything that way ::)