Home   Help Search Login Register  

Author Topic: Making a triger go only at a certain height  (Read 914 times)

0 Members and 2 Guests are viewing this topic.

CLITCOMMANDER

  • Guest
Making a triger go only at a certain height
« on: 12 Jul 2003, 06:14:09 »
Hi, i no this is sort of like the other post about units and height but that one didn't really help me out all that much. I have a trigger and i want it to go when a unit is a a certain height in the radius of the trigger. Im making a CTF map and the flag is at the top of a building but all you have to do is walk in the field  at the first floor to score and i want it so that you have to be at the top of the building for it to work. I'd appreciate any help you can give  ;D

-=CC=-

gadolinite

  • Guest
Re:Making a triger go only at a certain height
« Reply #1 on: 12 Jul 2003, 07:06:47 »
 :-\there is a command called 'position' (check "official" command reference).  I have never used it.  Try and play with this command with the z axis component array.  There is probably an easier way, so someone may be along to point it out.  

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Making a triger go only at a certain height
« Reply #2 on: 12 Jul 2003, 08:01:32 »
position is da sameasgetpos :P

da answer is like dat


make da triger covering da area u want - nd group it 2 da vehicle u want - nd put poresent dere

now in da conditionfield put

this and (getpos vehiclename select 2 > num)

*note : num - is da high of it ;)

in da on activistion put watever u want ;)

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:Making a triger go only at a certain height
« Reply #3 on: 12 Jul 2003, 11:49:28 »

*note : num - is da high of it ;)



 :D so *num-num* would be twice as high!!  :o :-X ;D   ( ::) )


Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Making a triger go only at a certain height
« Reply #4 on: 12 Jul 2003, 15:19:50 »
:wow:

tomb is genius

tomb = = LCD

:P

LCD OUT
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta