Home   Help Search Login Register  

Author Topic: How do you start someone dead?  (Read 1112 times)

0 Members and 1 Guest are viewing this topic.

cadmus

  • Guest
How do you start someone dead?
« on: 21 Nov 2003, 22:34:46 »
I'm using a script called "kill.sqs" that looks like this

Code: [Select]
; This scipt kills whatever you pass to it as a parameter

_unit = _this select 0
_unit setDamage 1
exit

and I put in the init field of my victim

Code: [Select]
[this] exec "kill.sqs"
But (and this happened when I just tried this setdamage 1; it says that setdamage is an unknown operator.

I'm using the Gold edition of the game patched to 1.46.

My apologies for posting such an utterly newbish question but see the PS for details.

P.S. How come when on the main editors page when I click to expand an area it doesn't?

Offline macguba

  • Former Staff
  • ****
    • macguba's operation flashpoint page
Re:How do you start someone dead?
« Reply #1 on: 21 Nov 2003, 22:43:30 »
setDammage
Plenty of reviewed ArmA missions for you to play

cadmus

  • Guest
Re:How do you start someone dead?
« Reply #2 on: 21 Nov 2003, 22:45:16 »
*bangs head on table*

I should have though of trying that, you see I thought my version would have had the newer version of the command, do I take it it is a resistance only thing? Is there a guide anywhere telling me which commands I don't have?

Thank you very much

Kaliyuga

  • Guest
Re:How do you start someone dead?
« Reply #3 on: 21 Nov 2003, 23:25:18 »
 It's just another example of BIS creative spelling doesn't matter which version you have it's always been  setdammage ;)

kinda like in the weapon configs a rifle is  "riffle"   ::)


DBR_ONIX

  • Guest
Re:How do you start someone dead?
« Reply #4 on: 22 Nov 2003, 18:16:21 »
In the units propeties, just drag the health/armour down to zero.... Its one less script :)
- Ben