Home   Help Search Login Register  

Author Topic: trigger  (Read 538 times)

0 Members and 4 Guests are viewing this topic.

SnakeFart

  • Guest
trigger
« on: 07 Aug 2003, 00:22:18 »
ok i have a trigger that i want only ground units to activate not the heli. ive read a tute and this is what it said to put in the activation field

this and not ((heli) in thislist);

when i use that i get an error that says bool with the ; at the end. if i take the ; off i get an expected nothing error. can someone plz give me the correct init field things to type?
« Last Edit: 07 Aug 2003, 00:22:48 by SnakeFart »

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:trigger
« Reply #1 on: 07 Aug 2003, 00:57:10 »
The error message sometimes gives you a # to show where in the code the error is occurring.

Make sure you have named the heli correctly.     Also make sure your Activation box is correct (eg east present) and that your chopper would otherwise activate it.   (In this example it would be an East chopper)   It shouldn't make any difference but move the brackets:

this and (not (heli in thislist))
a
and try that ... just a suggestion, may not work.   The ; at the end is definitely wrong.
Plenty of reviewed ArmA missions for you to play

SnakeFart

  • Guest
Re:trigger
« Reply #2 on: 07 Aug 2003, 03:11:09 »
the name is correct and it does give me the |#| error and the box that pops up says

Type Bool, expected Nothing

have you ever used this before? or is there another way to get around it?

now im trying to put this in the triggers activation box. should i try to put in the heli init field box instead?

 :-\ :-\

Kaliyuga

  • Guest
Re:trigger
« Reply #3 on: 07 Aug 2003, 03:14:51 »
try this:

your trigger:


Radius: As required
Condition: West Present (or east/anyone etc.)
Condition Field: "Land" counttype thislist > 0

That trigger will only go off if a ground unit enters it


SnakeFart

  • Guest
Re:trigger
« Reply #4 on: 07 Aug 2003, 03:57:50 »
SWEET IT WORKED THANKS!!!!!!!!!!!!!!

Solved!