*cough*
Ehm, I think it's time for a summary!
;D
I just took a readthru & maybe I have a lil' som'n for ya, lazzy :thumbsup:
Hi there!
I have an enemy squad patroling an area. They have several "Move" waypoints forming an ugly circle and the last one is a "Cycle" waypoint placed over the first "Move" waypoint. So they patrol in circle and thats fine!
I have also many single units around and what I would like to acheive here is that if one or more of the single units see me, that the big squad comes kick my ass like my ol' idian grand mother used to! Right now the squad keeps following its waypoint
Many thanx in advance!
c r u n c h
See, there
is one way, an easy way, to get yer butt kicked right. Just listen up, matey...
Let's say you NAMED all enemy groupLeaders (and preferrably, all groups as well but its not vital here), then picture this:
YOU
are detected by a hostile moron (any d00d really).
Now, that could activate a trigger which made ALL nearby troopers move towards YOUR POSITION.
Pretty much what ya said up there in the first Q on page one, actually ;D
To do this, make a trigger the following way:
Condition: player detected by EAST (if east is the enemy side).
Just set up the trigger, hit F2 and drag a grouping line from trigg to player. :thumbsup:
Then select "Detected by EAST", and you're almost off.
Now, in the "On Activation" field, put:
"_x commandMove getpos player" forEach AllBobs Where "AllBobs" is an array made of every hostile grpLeaders in the area.
AllBobs = [bob1,bob2,bob3,...etc]
Just name each grpLeader "Bob1", "Bob2" etc. in his name field.
To define the array, just put that piece of code in someguys INIT field.
This would make each grpLeader command his pack of l00nies to get near the spot...uuum where you were spotted.
*cough*
But they won't "follow" you around, they'll just move towards the
spot of detection, so to speak. :-X
Try it & see if it sticks, m8
oh, and be sure to make it a "SWITCH" type of trigger!!!!!!!!!