If you want that you get hurt by a exploder........

Post your scripting questions / solutions here

Moderator: Moderators

Post Reply
madcow
Lance Corporal
Posts: 13
Joined: Wed Jun 05, 2002 2:32 pm
Location: Netherlands
Contact:

If you want that you get hurt by a exploder........

Post by madcow »

If you want that you get hurt by a exploder explosion you have to put the line that is red at the same place below the exploder script activation and you have to make a script object with a "targetname" in this script "test".

explode_bomb2:
iprintlnbold_noloc "The bangalore has been activated , 10 seconds until explosion."
wait 5
iprintlnbold_noloc "5 seconds"
wait 1
iprintlnbold_noloc "4 seconds"
wait 1
iprintlnbold_noloc "3 seconds"
wait 1
iprintlnbold_noloc "2 seconds"
wait 1
iprintlnbold_noloc "1 second"
wait 1
exec global/exploder.scr::explode 4
radiusdamage $test(that is the targetname you have to change) 256 384
I hope that will help.
Wombat
Colour Sergeant
Posts: 93
Joined: Fri Jun 14, 2002 5:10 pm
Location: Adelaide, Australia
Contact:

Post by Wombat »

radiusdamage $test.origin 200 500 // origin , damage, radius
Wombat's
Eats roots shoots then leaves...........
madcow
Lance Corporal
Posts: 13
Joined: Wed Jun 05, 2002 2:32 pm
Location: Netherlands
Contact:

Post by madcow »

.origin is not nessisery because it still worked even though I had not put that in my line.
Post Reply