Home   Help Search Login Register  

Author Topic: setdammage of an object  (Read 426 times)

0 Members and 1 Guest are viewing this topic.

Offline Killzone

  • Members
  • *
  • War is the true Enemy
setdammage of an object
« on: 17 May 2004, 01:26:21 »
Hi

I am trying to get an object (a house) that is in the map to start out with some dammage. Can I use the setdammage command in a script I tried using

player setdammage object 710 > 0.8

But it comes back with

player setdammage object 710> # 0.8: error setdammage: type object expected number

The problem is I dont think I know how to use the setdammage command in a script.

Thanks for any help ;D
"Everyone dies so deal with it and move on"

                                                      ME

Offline Chris Death

  • Former Staff
  • ****
  • Finally Death's gonna get ya
    • OFPEC
Re:setdammage of an object
« Reply #1 on: 17 May 2004, 02:37:26 »
object_to_be_damaged setDammage damage_level

which would be in your case:

object 710 setDammage 0.8

 ;)

~S~ CD
Dont argue with idiots....they will bring you down to their level and beat you there with experience.

How to use Waypoint type Scripted