DepthCharge
-
Upload
stevendouglas -
Category
Documents
-
view
1 -
download
0
Transcript of DepthCharge
-
; $Header: DepthCharge.txt Wed Apr 23 16:04:39 EDT 2003 $; $Revision: 1 $; $Copyrt1: Copyright (c) 2003, Sonalysts, Inc. All rights reserved. $;; Depth Charge
var DetonateDepth
; Pick Random Depth SettingIF INIT THEN {
DetonateDepth = ( -100 - RND 200 )IF DetonateDepth < TerrainAlt THEN {
DetonateDepth = ( TerrainAlt + 50 )} ENDIF
} ENDIF
; Blow Up At Selected DepthIF OwnAlt < DetonateDepth THEN {
DETONATE} ENDIF