View Single Post
  #3  
Old 02-07-2006, 12:34 AM
Idrox0 Idrox0 is offline
Registered User
Join Date: Oct 2003
Posts: 66
Idrox0 is on a distinguished road
Hmm... so say I wanted to make a weapon that searched through the room and killed everyone in it, it would be done like so?
PHP Code:
if ( weaponfired ) {
  for ( 
0playerscounti++ ) {
    
players[i].hearts 0;
  }

Pardon the odd (I'm sure) spacing methods; it seems UnrealScript has rubbed off a bit on me.
__________________

Last edited by Idrox0; 02-07-2006 at 12:35 AM.. Reason: Saving space with PHP tag
Reply With Quote