Home   Help Search Login Register  

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

0 Members and 1 Guest are viewing this topic.

Offline Captain Crunch

  • Members
  • *
Re:ALARM!!!
« Reply #15 on: 05 Jun 2003, 18:33:03 »
Thanx guys for Your help and patience, I really appreciate! :D

  It's gonna be a good fun mission... well at least if I successfully manage to finish it! Damn! There's weeks of work in this unfinished mission!! :-X

  I can't wait to post it for people to try! :-*
Back to the forest!

Offline Captain Crunch

  • Members
  • *
Re:ALARM!!!
« Reply #16 on: 06 Jun 2003, 15:01:44 »
Hi!

  Tomb, you wrote yesterday;

Quote
try & name your WP "W1" (in the NAME field of the WP window).


 ???

I don't have a name field in any waypoint windows! Is it possible that this is cos I only have v. 1.46 or are You mistaking!

  Is there a way around this, like creating a waypoint in a script and name it from there??
Back to the forest!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:ALARM!!!
« Reply #17 on: 06 Jun 2003, 15:47:34 »
Look up the command setWPPos in the online command ref - it tells you how to refer to the waypoint.    
Plenty of reviewed ArmA missions for you to play

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:ALARM!!!
« Reply #18 on: 06 Jun 2003, 16:45:42 »
 ::) ;D don't ask what happened up there!

Offline Captain Crunch

  • Members
  • *
Re:ALARM!!!
« Reply #19 on: 06 Jun 2003, 18:00:02 »

MacGuba, You wrote:
Quote
Look up the command setWPPos in the online command ref - it tells you how to refer to the waypoint.  

I've just checked in the Online Command Refs for the SetWPPos and it's just the same as in the Official Ref! I doesn't tell how to name a waypoint.

Is it possible at all?

  c     r      u   n     c  h  

Back to the forest!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:ALARM!!!
« Reply #20 on: 06 Jun 2003, 20:02:03 »
You can't name it, it's true ... but a name is just a label you use to refer to something.      Waypoints don't appear to have names, they have a different kind of label.

You want

W1 setWPPos getPos Player

but you can't have that.  Instead you have

[grp1,2] setWPPos getPos Player

where [grp1,2] is the "name" or label of the waypoint in question.     It is as you can see an array, the first element being the name of the group to which the waypoint belongs, the second being the waypoint index.

You can discover more about this type of array in the Command ref topic "arrays" - there is a link at the top of any online command ref page, and snYpir has added a helpful comment.

Read the setWPPos bit again too, remembering that you're not looking to understand waypoint names, but waypoint labels.    

Hope that helps.   ;)
Plenty of reviewed ArmA missions for you to play

Offline Captain Crunch

  • Members
  • *
Re:ALARM!!!
« Reply #21 on: 06 Jun 2003, 21:46:44 »
Yes MacGuba!

   You are very helpful! ;) :cheers:


Many thanx!
Back to the forest!

Offline Captain Crunch

  • Members
  • *
Re:ALARM!!!
« Reply #22 on: 07 Jun 2003, 14:32:22 »
Hey it seems to work good!

   Many thanx to everyone who helped me!  :D

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

It's saturday and I wish everyone to relax and enjoy the day like me! So no big efforts if it's too hard!  ;D

I'm in Berlin right now and the day is nice and hot. I'm on the balconey taking some sun with the PC!   :afro:  ::)
Back to the forest!

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:ALARM!!!
« Reply #23 on: 07 Jun 2003, 16:13:19 »
WPLabel setwppos (list triger select 0)

i think it shud work

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 #24 on: 08 Jun 2003, 20:11:47 »
This is royally frustrating!!! This SetWPPos command is useless! It doesn't work! >:(

So here is how I did it:

---Placed an enemy troop with four waypoints.
           
            -First waypoint: MOVE
                    Behaviour: SAFE

            -Second waypoint: MOVE
               
            -Third waypoint: CYCLE
                   Synchronized with Alarm trigger

            -Fourth waypoint: SEKK & DESTROY
                   Description:              [EGroup, 3] SetWPPos GetPos Crunch
                   Combat Mode:         Open Fire, Engage At Will
                   Speed:                     Full
                   Behaviour:               Combat
                   Placement Radius:   0
                   Condition:                True


Still, the troop will only go to where the SEEK & DESTROY waypoint was placed in the editor. Thats an aweful thing!

First a SEEK & DESTROY waypoint alone should do the trick since "SEEK" means to search for something/body and not to stand there waiting for OFP 2 to be released!

Second, even if the SetWPPos is used, the troop has its union break!!!

Is it possible that the "SetWPPos" command doesn't work with v. 1.46??
Or is the command actually not working?

Has anyone experienced the same enraging problem as me?

Please help. In the end, all I want is the entire damn enemy to come for the player if he is detected by ANY single enemy! Now that should be one of the first thing to be done in the game or?


           
                   
Back to the forest!

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:ALARM!!!
« Reply #25 on: 08 Jun 2003, 20:20:37 »
The setWPPos command should be in the On Activation field of the trigger.
Plenty of reviewed ArmA missions for you to play

Offline Captain Crunch

  • Members
  • *
Re:ALARM!!!
« Reply #26 on: 08 Jun 2003, 20:51:10 »
... :-[




                                                                            ... :-[




 
                                         ... :-[


 :-[ :-[ :-[ :-[

                                     


                                                         ................ :-[


                   ... :-[





                                                         ::)


sorry


                                                                                   :-\
Back to the forest!

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:ALARM!!!
« Reply #27 on: 08 Jun 2003, 21:25:02 »
nd put da cycle after da seek n destroy ;)

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 #28 on: 08 Jun 2003, 21:38:30 »
A cycle after seek & destroy?

What does it do?

  Cycles the S&D?


    -----Thanx LCD!

   ;)
Back to the forest!

Offline Captain Crunch

  • Members
  • *
Re:ALARM!!!
« Reply #29 on: 08 Jun 2003, 23:17:05 »
It's a good feeling when a mission is on a good way forward!


   LCD, You mentioned a CYCLE waypoint after a SEEK & DESTROY one, can You tell where to put it please. Close to the S&D?

And I'm wondering what is best between those two here:


In the "On Activation" field of a SEEK & DESTROY waypoint, to SetWPPos:

[Group01, 3] SetWPPos GetPos MyGroup

(Where "MyGroup" is the group the player is in. Is this possible? And if yes then where would the waypoint be positioned if MyGroup has two units?)

or:

LCD, You wrote:
Quote
WPLabel setwppos (list triger select 0)

Is the syntax right? If yes, how would I set the trigger?

(This one would set the waypoint at the position of whom triggered the sensor)

Hundred thanx to all of You!

 :thumbsup:
« Last Edit: 08 Jun 2003, 23:43:12 by Captain Crunch »
Back to the forest!