Hyper.nl Unreal Services Forum Index Hyper.nl Unreal Services
The forum of Hyper.nl Unreal Services and the semi-offical resource for Winged Unicorn's Unreal mods
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to check for being shot?

 
Post new topic   Reply to topic    Hyper.nl Unreal Services Forum Index -> HelpDesk
View previous topic :: View next topic  
Author Message
Zelk0wy[PL]



Joined: 19 Apr 2006
Posts: 110
Location: War Saw, Poland

PostPosted: Thu Nov 30, 2006 10:41 pm    Post subject: How to check for being shot? Reply with quote

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
View user's profile Send private message MSN Messenger
jjacklin130



Joined: 29 Nov 2006
Posts: 3

PostPosted: Sat Dec 02, 2006 10:46 pm    Post subject: Reply with quote

im pretty sure there is a reference manual you can look into that might get you there...

here check this out...

http://hypernl.thenerdnetwork.net/base/codebase/Unreal_226_UScript_Documentation/index.html

might help what your looking for

look under "UnrealI" and there is a subclass "BulletHit"

UnrealI.BulletHit

this might be what your looking for.
Back to top
View user's profile Send private message
Cheese



Joined: 30 Mar 2006
Posts: 79
Location: ...YES

PostPosted: Sat Dec 09, 2006 2:27 am    Post subject: Reply with quote

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
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Hyper.nl Unreal Services Forum Index -> HelpDesk All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group