Home   Help Search Login Register  

Author Topic: Damn waypoints!  (Read 1018 times)

0 Members and 1 Guest are viewing this topic.

Gooner861

  • Guest
Damn waypoints!
« on: 31 May 2004, 19:02:13 »
Right then, ive got enemy patrols like this:

 ----------->MOVE----------------->MOVE
 CYCLE--------------------------------<

the from the cycle i have another waypoint which the enemy goes to when the enemy sets off a trigger, i have synched the trigger with the cycle waypoint but each time the enemy goes into the trigger the patrol does nothing but carries on with its usual patrol.

Ive read sumthing bout switch triggers, think i need to use them????

Once i know this im pretty much finished in creating MY FIRST EVER MISSION and shud be up for u 2 play. Probably be crap, but hey who cares.

Cheers.  ;D

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:d**n waypoints!
« Reply #1 on: 31 May 2004, 19:09:22 »
Quote
Ive read sumthing bout switch triggers, think i need to use them????

Yes you do, read my switch trigger tute m8.

Quote
MY FIRST EVER MISSION

*sighs* Lucky you... Over 2 ½ years of OFP editing and still no released mission... But wait, advertising warning... Hopefully I'm gonna get this mission pack working and then I'll blow you all away. ;D

:beat: *Gets Shot* :beat:

Gooner861

  • Guest
Re:d**n waypoints!
« Reply #2 on: 31 May 2004, 19:12:45 »
Me advertising....... never.

 :gunman: Die Die  :gunman:

By the way wot mission pack?
« Last Edit: 31 May 2004, 19:15:15 by Gooner861 »

Gooner861

  • Guest
Re:d**n waypoints!
« Reply #3 on: 31 May 2004, 19:19:39 »
K good tutorial, 1 thing, u say u have to put sumthing in the condition field. Wot wud i put in mine, i want the patrol to sitch to its seek and destroy waypoint once an enemy triggers the switch.

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:d**n waypoints!
« Reply #4 on: 31 May 2004, 20:18:31 »
@ Advertising: I meant I was advertising. :D

@ Mission Pack: DFFSSROFPE, seriously, that's the name. If you can guess what it stands for you win a prize! :D Enuff advertising now anyway, mods dont like it. Prolly gonna flop like every other project Ive done anyhow. :-\

@ Question: Just a boolean or a variable or whatever. Like when you want your patrol to move out you have a boolean go true right? Just put that boolean in the cond field.

:beat: *Gets Shot* :beat:

Offline dmakatra

  • Members
  • *
  • Better known as Armsty
Re:d**n waypoints!
« Reply #5 on: 31 May 2004, 20:21:17 »
Woops, just read my post. I wouldn't understand that.

Do like this:

You want the patrol to move out yeh? And you want that when you turn "Ullabella" true right? Put "Ullabella" in your cond field. Now, when you turn "Ullabella" true the switch will be activated and your squad will run their arse off to their next WP.

:beat: *Gets Shot* :beat:

Gooner861

  • Guest
Re:d**n waypoints!
« Reply #6 on: 01 Jun 2004, 11:19:33 »
Right in understand wot u do with the switch but what the hell does Ullabella mean and do?


Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:d**n waypoints!
« Reply #7 on: 01 Jun 2004, 12:33:04 »
Ullabella is a variable.   You can use pretty much anything you like as a variable name, as long as it's not the name of anything in the game (like M16 for example).    You can use each name only once in each mission - if you have a variable Ullabella you can't have a tank with the same name.

In this case the variable is a boolean variable - it can be either true or false.   You define which it is like this

Ullabella=true

in a trigger/waypoint/script etc.    You can use it as a switch to turn a trigger on and off.

However, in this case I don't think you need one.   You do need to read Armsty's switch trigger tutorial.   Your waypoints should look something like this

MOVE
MOVE
CYCLE   <-------- synchro the trigger with this one
SEEK & DESTROY
CYCLE

The trigger looks something like this

Area:   as you like
Activation box:    East detected by West (or whatever)
Type:   switch

Now, if you wanted this trigger to fire only if, for example, the attack group was moving in from a certain direction, you would need the variable.   You'd set up another trigger in the approach looking like this

Activation:  East present
On activation:    Ullabella=true

And your first trigger, the switch one, would be the same except you would add a condition line

Condition:   this and Ullabella
Plenty of reviewed ArmA missions for you to play

Gooner861

  • Guest
Re:d**n waypoints!
« Reply #8 on: 01 Jun 2004, 13:08:07 »
Righty, thanks for that clears things up a little, i'll try it later ............ shud b doin work.  ;D