Home   Help Search Login Register  

Author Topic: INVINCIBLE NMEs (exept for head)  (Read 829 times)

0 Members and 1 Guest are viewing this topic.

Offline desper8

  • Members
  • *
  • REBEL Council member
    • http://rebel.clanzone.at/board/
INVINCIBLE NMEs (exept for head)
« on: 03 Jan 2004, 00:42:38 »
i wanna know a script for soldiers to be invincible
the only thing that will kill them is a head shot

this post is as close as i got to finding it

http://www.ofpec.com/yabbse/index.php?board=6;action=display;threadid=14454

PS: if u also know how to alow 2 head shots for a kill the better
(i know i make some mad missions)
friendly clan battle any one?
PM me

Offline Tomb

  • Contributing Member
  • **
  • in2 Metal? Go 2 my sig
Re:INVINCIBLE NMEs (exept for head)
« Reply #1 on: 03 Jan 2004, 05:34:30 »
the best way (and the smoothest) is  to make a unit_addon,


 - just a tweaked config :

armor=120  :o
(or alike)


thats all ya need, m8  :-*


8 Ball

  • Guest
Re:INVINCIBLE NMEs (exept for head)
« Reply #2 on: 03 Jan 2004, 22:09:37 »
Here's a modified version of my script -
--------------------------------------------------------------
; Script By - 8BAll (Adam); E-mail -admd89@netscape.net
;Syntax-
;guy addeventhandler ["dammaged", {[_this select 0,_this select 1,_this select 2] exec "BPV.sqs"}]
;What it all means...
;"guy addeventhandler ["dammaged", = add's the eventhandler "dammaged" to the unit "guy"
;_this select 0 = gets the name of the unit that was dammaged.(In this case the unit named "guy"
;_this select 1 = get part of body dammaged
;_this select 2 = get amount of dammage

; Define your variables
_unit = _this select 0
_body = _this select 1
_dammage = _this select 2



;If the bullet hit something other then the chest exit
? _body == "hlava" : exit

;Set dammage to 0
_unit setdammage 0

exit

-------------------------------------
Still takes one shot to kill him

Offline desper8

  • Members
  • *
  • REBEL Council member
    • http://rebel.clanzone.at/board/
Re:INVINCIBLE NMEs (exept for head)
« Reply #3 on: 03 Jan 2004, 22:28:42 »
thanx u 2
now i can make uber guba soldiers
muhahahaa
friendly clan battle any one?
PM me