Home   Help Search Login Register  

Author Topic: triggers and Ground Units  (Read 647 times)

0 Members and 1 Guest are viewing this topic.

Offline rhysduk

  • Former Staff
  • ****
triggers and Ground Units
« on: 09 Aug 2003, 13:45:38 »
how do  make a trigger that is only activated by ground units ? and not anyother type of unit liek air one ?

I know hte answer is on the forums coz i read it myself - cant find the buger though !!

Plz help people !!
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

peter

  • Guest
Re:triggers and Ground Units
« Reply #1 on: 09 Aug 2003, 16:01:20 »
place trigger, set "East Present" or "West Present" or ...
... and put into triggers activation-field:
"Land" countType thislist > 0

CrashnBurn

  • Guest
Re:triggers and Ground Units
« Reply #2 on: 09 Aug 2003, 18:36:23 »
place trigger, set "East Present" or "West Present" or ...
... and put into triggers activation-field:
"Land" countType thislist > 0


Actually, putting that in the activation field is NOT going to work. It needs to be in the condition field. Your condition should look something like-

this && ("Land" countType thislist) > 0

If that doesn't work for you, try-

this && ((count thislist)-("air" counttype thislist)) > 0

peter

  • Guest
Re:triggers and Ground Units
« Reply #3 on: 09 Aug 2003, 21:12:15 »
condition - activation - i guess triggers have to many fields ...  :P

CONDITION is the right one ...
sorry & thx CrashnBurn

(you donÂ't need this &&)


Offline rhysduk

  • Former Staff
  • ****
Re:triggers and Ground Units
« Reply #4 on: 10 Aug 2003, 14:20:56 »
Thx a lot guys - Ur help is much appreciated ;D ;D

#Topic locked when i get home ;D
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline rhysduk

  • Former Staff
  • ****
Re:triggers and Ground Units
« Reply #5 on: 14 Aug 2003, 12:10:09 »
Sorry guys none of these seem to be working at all..... any more suggestion anyone ?

Thanks alot tho ! ;D
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

Offline Sui

  • Former Staff
  • ****
    • OFPEC
Re:triggers and Ground Units
« Reply #6 on: 15 Aug 2003, 02:03:22 »
Make sure your trigger is set to East/West/Anybody Present (depending on whom you want to set it off).

Otherwise the trigger won't 'see' any of the units ;)

Offline rhysduk

  • Former Staff
  • ****
Re:triggers and Ground Units
« Reply #7 on: 16 Aug 2003, 13:37:37 »
Hi Sui, thanks for the comment/reply....

The thing is that the trigger is grouped to the player (because i only want it to be activated byt eh player) so only the following options are available in the :-

1. Vehicle
2. Whole Group
3. Group Leader
4. Any Group Memeber


This resuts in me not activating it by West, East, Anybody etc etc but by only these 4 options... does this effect my problem ?

Thx in advance again ! ;D
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)

peter

  • Guest
Re:triggers and Ground Units
« Reply #8 on: 16 Aug 2003, 14:10:19 »
try thia one:
this && ("Land" countType [vehicle player] > 0)

should activate trigger if player uses a ground vehicle or no vehicle at all ...

Offline rhysduk

  • Former Staff
  • ****
Re:triggers and Ground Units
« Reply #9 on: 16 Aug 2003, 16:41:19 »
Hey, ur a genius dude - thx everyone for teh replies - it is now working..

Credits to

Sui
peter
CrashnBurn

Topic Locked.
Reviewed Missions Board: Please Read the User's Guide before posting!

Pride and Joy 1 (HW100-T)