Home   Help Search Login Register  

Author Topic: ALARM!!!  (Read 4562 times)

0 Members and 1 Guest are viewing this topic.

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:ALARM!!!
« Reply #45 on: 10 Jun 2003, 18:26:34 »
it ends... after som time

just wait (long time ;))
LCD OUT

ah, I guess my 150-200 x 150-200 WP radius explain why I've never seen a completed S&D wp.  ::)
I only use 'em for the hostile AI groups / my own support grp's, and only in big towns, so that must be the reason why I never saw a completed S&D (they usually die before the WP is completed I guess).  :-X


Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:ALARM!!!
« Reply #46 on: 10 Jun 2003, 22:14:03 »
Quote
BUT HOW DO I FIND OUT THE NAME OF THE d**n WP???????????

WTF :wow:

didnt we pass dat Q b4 ::)

Quote
[Group01, 4]

 :P

Quote
There are no tutes hidden somewhere about that? If there is, please tell me where it is so I can finish this thing. I looked but didn't find any. Once my problem is solved, (the positive way) I'll make one!

nope - 2 simple 4 TUT :P ;D

@ Tomb - u never used SnD nd u complain ::)

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

Offline Captain Crunch

  • Members
  • *
Re:ALARM!!!
« Reply #47 on: 10 Jun 2003, 22:58:39 »
... :-[

Yes it was said before. Please forgive me. I'll use less drugs when I'm online next time!  :-\

So that it gets into whats left of my head, could You please tell me what "Group01" from [Group01, 4] represents?

I believe it's the group to whom belongs the waypoint to.

So if this is right, then how would be the syntax in the alarm trigger?

Correct if I'm wrong:

[[Group01, 4], [Group02, 5], [Group03, 4], [Group04, 4]] SetPos GetPos (List TriggerName Select 0)

...Damn I'm wrong am I not?  ???

PS: You are nominies to the patience award!
Back to the forest!

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:ALARM!!!
« Reply #48 on: 11 Jun 2003, 02:16:23 »
*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


 :D 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 :o 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.
Code: [Select]
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  :-*


 :o oh, and be sure to make it a "SWITCH" type of trigger!!!!!!!!!  8)







« Last Edit: 11 Jun 2003, 02:35:30 by Tomb »

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:ALARM!!!
« Reply #49 on: 11 Jun 2003, 04:31:16 »
Tomby - stop mesin w/ his mind :P start readin wat he wants

Quote
Now I was just wondering, how complicated would it be to setwppos on the exact unit who triggered the sensor?

:P



@ crunch - u need 2 name da group 2 use its name

2 name a group just put

groupname = group this - in da leaders (itll work w/ ny1 else in da group also) init

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

Offline Captain Crunch

  • Members
  • *
Re:ALARM!!!
« Reply #50 on: 11 Jun 2003, 10:46:10 »
Thanx a lot guys for Your help and patience.

  I'm kinda slow when it comes to tech stuff or programming whatever. Though it's a lot of fun.  :)

  I first discovered the toaster in 1991 when I moved out the bushes! He!  :o
The funniest part here is that it's true! :-X

  I use to grill the home made bread over the hearth and speak some kinda medieval slang french!

  The good ol'hunting days!
Back to the forest!