Karos Graveyard ::
Function Reference :: Scope Reference :: Variable Reference
SobGroup_SpawnNewShipInSobGroup(<iPlayerIndex>, <sShipType>, <sSquadronName>, <sSobGroupToAddToName>, <sVolumeName>)

Description
Creates a <sShipType> named <sSquadronName>, places it in the middle of <sVolumeName>, adds it to <sSobGroupToAddToName>, and gives it to <iPlayerIndex>.
Note: any type of ship may be spawned, unlike SobGroup_CreateShip.

Example (from the HW Classic Mod)
SobGroup_SpawnNewShipInSobGroup(0, "Hgn_Intercepter", "NewCrateShip", "Player_Ships0", "CrateDetectVolume0")

Arguments
<iPlayerIndex>: the player who the ship will belong to.
<sShipType>: the type of ship being spawned.
<sSquadronName>: the name of the squadron being spawned.
<sSobGroupToAddToName>: the name of the sobgroup the ship will be added to.
<sVolumeName>: the name of the volume the ship will spawn into.

Related Pages:
:: ::
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_UnRestrictBuildOption.html
100%
00:00
582 KB
2.17 MB/s
FunctionSobGroup_UnRestrictBuildOption.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionSobGroup_UnRestrictBuildOption.html
Status:
582 KB / 582 KB ( 2.17 MB/s )
File Size:
582 KB
Virus scan:
Time Start:
2019.08.21 - 11:30:21
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
2.07 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_UnderAttack.html
100%
00:00
581 KB
2.62 MB/s
FunctionSobGroup_UnderAttack.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionSobGroup_UnderAttack.html
Status:
581 KB / 581 KB ( 2.62 MB/s )
File Size:
581 KB
Virus scan:
Time Start:
2019.08.21 - 11:30:34
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
2.47 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_TakeDamage.html
100%
00:00
513 KB
2.26 MB/s
FunctionSobGroup_TakeDamage.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionSobGroup_TakeDamage.html
Status:
513 KB / 513 KB ( 2.26 MB/s )
File Size:
513 KB
Virus scan:
Time Start:
2019.08.21 - 11:31:11
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
2.14 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_SwitchOwner.html
100%
00:00
514 KB
2.34 MB/s
FunctionSobGroup_SwitchOwner.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionSobGroup_SwitchOwner.html
Status:
514 KB / 514 KB ( 2.34 MB/s )
File Size:
514 KB
Virus scan:
Time Start:
2019.08.21 - 11:31:22
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
2.21 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_SubSystemSelected.html
100%
00:00
513 KB
2.47 MB/s
FunctionSobGroup_SubSystemSelected.html
Source:
From:
To:
G:\HWRMResources\tutorials\hw2wiki.net\Functions_StandAlone\FunctionSobGroup_SubSystemSelected.html
Status:
513 KB / 513 KB ( 2.47 MB/s )
File Size:
513 KB
Virus scan:
Time Start:
2019.08.21 - 11:31:32
Time to Complete:
<00:01
Time Left:
00:00
Percent Done:
100%
Average Speed:
2.33 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