View previous topic :: View next topic |
Author |
Message |
Zelk0wy[PL]
Joined: 19 Apr 2006 Posts: 110 Location: War Saw, Poland
|
Posted: Thu Nov 30, 2006 10:41 pm Post subject: How to check for being shot? |
|
|
My question is - how to check using unrealscript if a player is shot.
I need exactly this specific check because I want something to happen exactly when the player is shot. _________________ Beware the lollipop of mediocrity - lick it once and you suck forever.
|
|
Back to top |
|
|
jjacklin130
Joined: 29 Nov 2006 Posts: 3
|
|
Back to top |
|
|
Cheese
Joined: 30 Mar 2006 Posts: 79 Location: ...YES
|
Posted: Sat Dec 09, 2006 2:27 am Post subject: |
|
|
If you are making a pawn...
Code: |
event TakeDamage( int Damage, Pawn EventInstigator, vector HitLocation, vector Momentum, name DamageType)
{
// Put all the crap you want in here
}
|
Have fun! _________________
|
|
Back to top |
|
|
|