Raised This Month: $ Target: $400
 0% 

Drown dmg event


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Johnny got his gun
Veteran Member
Join Date: Jan 2004
Location: Tokyo
Old 07-09-2004 , 07:00   Drown dmg event
Reply With Quote #1

Hmm well I researched this awhile back... not tested much but should work...

Code:
    register_event("Damage", "drowndmg_event", "b", "2<6", "3=16384", "4=0", "5=0", "6=0")

At least this works for "normal" water. 2<6 tells that the dmg caused should be less than 6, as I've seen it be at most 5. This could of course be different in case you use levels with lava, green goo or such.
Johnny got his gun is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 14:47.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode