Home   Help Search Login Register  

Author Topic: Frogmarching  (Read 629 times)

0 Members and 1 Guest are viewing this topic.

Nippleboy

  • Guest
Frogmarching
« on: 03 Jun 2003, 21:05:35 »
Hi,
How can I make a moving trigger around a walking soldier so that if I move too far away from him he shoots me?
Cheers
Chris

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Frogmarching
« Reply #1 on: 03 Jun 2003, 21:13:10 »
set da unit captive (in da init line) : this setcaptive true

now make a triger like dat

Trig
condition field : unitname distance capturername > DistanceHeShotFrom
On activision : unitname setcaptive false

DistanceHeShotFrom is num ;)

LCD OUT
« Last Edit: 04 Jun 2003, 00:47:58 by LCD »
"guess being the community has downsides .." - cheetah
Help Perfecting Da Next Best Thing - O-Team Beta

Nippleboy

  • Guest
Re:Frogmarching
« Reply #2 on: 03 Jun 2003, 23:10:53 »

unitname distance capturername > DistanceHeShotFrom
unitname setcaptive false

I put this (exactly)

me 15 him > DistanceHeShotFrom
me setCaptive false

Didnt work,
What Is wrong?

cheers
Chris



Offline Igor Drukov

  • Contributing Member
  • **
  • Conscientious Subjector
Re:Frogmarching
« Reply #3 on: 03 Jun 2003, 23:15:09 »
No, that's :
Code: [Select]
me distance him > 15
distance is no number, it's a command  ;)

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:Frogmarching
« Reply #4 on: 03 Jun 2003, 23:15:27 »
DistanceHEShotFrom may need to be a number.


Only a guess though

Crikey......this time Igor beat me to it



Planck
« Last Edit: 03 Jun 2003, 23:16:31 by Planck »
I know a little about a lot, and a lot about a little.

Offline LCD

  • Former Staff
  • ****
    • Everon Cartel
Re:Frogmarching
« Reply #5 on: 04 Jun 2003, 00:47:29 »
@ Plance - start writin faster ;)

@ LCD - start explainin more

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