Home   Help Search Login Register  

Author Topic: die!!!!!!!!!!!!!!!!!1  (Read 785 times)

0 Members and 1 Guest are viewing this topic.

netta1234

  • Guest
die!!!!!!!!!!!!!!!!!1
« on: 01 Feb 2004, 20:12:22 »
how do i make like die if you get 2m close too that person plz help if you know any script plz tell me :)

Offline Terox

  • Former Staff
  • ****
  • Follow the Sappers!
    • zeus-community.net
Re:die!!!!!!!!!!!!!!!!!1
« Reply #1 on: 02 Feb 2004, 02:43:58 »
Code: [Select]
?(Player distance XXX <=2):Player setdammage 1
or

Code: [Select]
?(Player distance XXX <=2):XXX setdammage 1

where XXX is variable name of person
« Last Edit: 02 Feb 2004, 02:44:50 by Terox »
Zeus ARMA2 server IP = 77.74.193.124 :2302
Teamspeak IP = 77.74.193.123

Fiendish

  • Guest
Re:die!!!!!!!!!!!!!!!!!1
« Reply #2 on: 11 Apr 2004, 19:20:24 »
Code: [Select]
?(Player distance XXX <=2):Player setdammage 1
or

Code: [Select]
?(Player distance XXX <=2):XXX setdammage 1

where XXX is variable name of person



I tried that one, without success.. I get all kind of errors  :-X

Offline Planck

  • Honoured
  • Former Staff
  • ****
  • I'm never wrong ....I'm just not always right !
Re:die!!!!!!!!!!!!!!!!!1
« Reply #3 on: 11 Apr 2004, 21:14:27 »
It won't work from a units init field, you need to run it from a script,.

Or even a trigger.

Worked fine for me


Planck
« Last Edit: 11 Apr 2004, 21:15:16 by Planck »
I know a little about a lot, and a lot about a little.

Fiendish

  • Guest
Re:die!!!!!!!!!!!!!!!!!1
« Reply #4 on: 11 Apr 2004, 23:56:34 »
I did run it from a trigger.. It said "invalid number of expression" or something like that.. when I tested without the questionmark it said "unknown operator"

j-man

  • Guest
Re:die!!!!!!!!!!!!!!!!!1
« Reply #5 on: 12 Apr 2004, 00:10:42 »
Create a trigger that covers the whole map and is activated by anyone, then, put in the "CONDITION" box:

Code: [Select]
Player distance XXX <=2
And then put in the "ON ACTIVATION" box:

Code: [Select]
player setDammage 1
EDIT
You dont have to make the trigger cover the whole map, like SilentHunter said. I just do that :P
« Last Edit: 12 Apr 2004, 00:13:23 by j-man »

Offline SilentHunter

  • Members
  • *
  • frozen leg'o'lamb (every gamers most loved weapon)
Re:die!!!!!!!!!!!!!!!!!1
« Reply #6 on: 12 Apr 2004, 00:11:33 »
Create a new trigger, there is no prefrence on size, name or position, just create it anywhere

In the condition field put this and replase UNITNAME with the name of the unit you want to kill
(Player distance UNITNAME) <= 2

In the On activation put this, again replase UNITNAME with the name of the unit
UNITNAME setdammage 1

SILENTHUNTER
[size=4.5]NERDS HAVE FEELINGS TOO! [/size] [size=2.5]*adjusts glasses*[/size]

Offline SilentHunter

  • Members
  • *
  • frozen leg'o'lamb (every gamers most loved weapon)
Re:die!!!!!!!!!!!!!!!!!1
« Reply #7 on: 12 Apr 2004, 00:12:55 »
Just 1 minute too late,  >:(

I'll get you next time j-man

lol
[size=4.5]NERDS HAVE FEELINGS TOO! [/size] [size=2.5]*adjusts glasses*[/size]

Fiendish

  • Guest
Re:die!!!!!!!!!!!!!!!!!1
« Reply #8 on: 12 Apr 2004, 01:38:49 »
Oh Now I get it!  *dumb*  :-[