Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
SobGroup_SetHealth(<sSobGroupName>, <fHealth>)

Description
Sets the health of all ships in <sSobGroupName> to <fHealth> times the maximum value.
Note: this function is a mirror function of SobGroup_TakeDamage.
Note: I think that setting a ships health to zero while it is in hyperspace causes the ship's debris to remain in hyperspace, as well. -Mikail

Example
SobGroup_SetHealth("Communications_Station", 0.4)

Arguments
<sSobGroupName>: the name of the sobgroup.
<fHealth>: a multiplier between 0 and 1.

Related Pages:
 Comments [Hide comments/form]
Function defined
-- Evaders99 (2004-12-30 16:43:37)
:: ::
Hide Download Bar
Ctrl + Shift + Z = Show/Hide Download Bar
Downloads
Download Manager (S3)
Clear
Left Click: Clear All Finished
Right Click: Undo last clear
100%
Download History
Download list is empty
FunctionSobGroup_SalvageSobGroup.html
100%
00:00
547 KB
2.34 MB/s
FunctionSobGroup_SalvageSobGroup.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionSobGroup_SalvageSobGroup.html
Status:
547 KB / 547 KB ( 2.34 MB/s )
File Size:
547 KB
Virus scan:
Time Start:
2019.08.21 - 11:22:13
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
2.24 MB/s
mouse double click: download pause/resume
mouse middle click: download cancel
mouse double click: open file
mouse double click + Ctrl: open dir
mouse middle click: delete from list
mouse middle click + Ctrl: delete from system
press mouse button + Ctrl: drag & drop
FunctionSobGroup_SalvagedByPlayer.html
100%
00:00
547 KB
2.32 MB/s
FunctionSobGroup_SalvagedByPlayer.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionSobGroup_SalvagedByPlayer.html
Status:
547 KB / 547 KB ( 2.32 MB/s )
File Size:
547 KB
Virus scan:
Time Start:
2019.08.21 - 11:22:23
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
2.22 MB/s
mouse double click: download pause/resume
mouse middle click: download cancel
mouse double click: open file
mouse double click + Ctrl: open dir
mouse middle click: delete from list
mouse middle click + Ctrl: delete from system
press mouse button + Ctrl: drag & drop