bomb damage
Moderator: Moderators
-
sg.Pepper
- Second Lieutenant
- Posts: 152
- Joined: Tue Jan 13, 2004 2:47 pm
- Location: Czrch Republic
- Contact:
bomb damage
hi, i have qustion: how can i set bomb damage to 0?
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
If you are talking about a bomb objective:
Code: Select all
level.bomb_damage = 200-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
-
Green Beret
- Major General
- Posts: 746
- Joined: Mon Apr 19, 2004 12:21 pm
- Contact:
whats the targetname of the bomb,example if its
$bomb1
then you would do this
$bomb1
then you would do this
Code: Select all
radiusdamage $bomb1 0 0
-
Bjarne BZR
- Site Admin
- Posts: 3298
- Joined: Wed Feb 05, 2003 2:04 pm
- Location: Sweden
- Contact:
Well, yes: if you are exploding the bombs yourself manually, you could do that. But if you are using the standard bomb script, it will do this when a bomb explodes:Green Beret wrote:whats the targetname of the bomb,example if its
$bomb1
then you would do thisCode: Select all
radiusdamage $bomb1 0 0
Code: Select all
radiusdamage self.origin level.bomb_damage level.bomb_explosion_radiusCode: Select all
$name_of_your_bomb thread global/obj_dm.scr::bomb_thinker
