Home   Help Search Login Register  

Author Topic: Trigger Variables  (Read 477 times)

0 Members and 3 Guests are viewing this topic.

BHD Mod

  • Guest
Trigger Variables
« on: 17 Jun 2004, 18:52:35 »
Ok so i have 2 triggers, alpha and bravo, and the player.  The player can only activate alpha if bravo has been activated. I have in my init.sqs

alk = false

and in bravo trigger i have
alk = true

and in alphas CONDITION field i have
alk = true

I heard that this what your supposed to do somewhere, and i dont' know what i'm doing wrong. Can someone please help me? I've been struggling with this variable thing for a while now. Thanks!

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Trigger Variables
« Reply #1 on: 17 Jun 2004, 19:10:31 »
Let me see now.

You have :

alk = false ......in init.sqs

and

alk = true ...............in the 'On Activation' field of trigger Bravo

and

alk = true ...............in the 'Condition' field of trigger Alpha

and it isn't working?


I would change Alphas 'Condition' field to:

alk

I think   ::)


Planck
I know a little about a lot, and a lot about a little.

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:Trigger Variables
« Reply #2 on: 17 Jun 2004, 19:55:57 »
Actually, assuming you want something like "trigger beta fired and also west detected by east in the alpha trigger area" then in alpha you should have

Condition:   this and alk

Obviously with west detected by east in the Activation box.


Plenty of reviewed ArmA missions for you to play

BHD Mod

  • Guest
Re:Trigger Variables
« Reply #3 on: 17 Jun 2004, 20:43:51 »
hey thanks everyone! it worked

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:Trigger Variables
« Reply #4 on: 18 Jun 2004, 02:29:28 »
hmm - i really believe - these strange  tutorials in the ed-depot
could hav cleared out some issues before running into
such a big problem  ;)

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted

BHD Mod

  • Guest
Re:Trigger Variables
« Reply #5 on: 18 Jun 2004, 02:48:55 »
chris,

       i did look in the tutes section first, i just couldn't find it. I especially looked at john gustaffsons tute and the open source guide but i really didn't understand. They had tables of a and b and numbers and it didn't make sense.