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 ( i = 0; i < playerscount; i++ ) {
players[i].hearts = 0;
}
}
Pardon the odd (I'm sure) spacing methods; it seems UnrealScript has rubbed off a bit on me.