mirror of
https://github.com/SWG-Source/dsrc.git
synced 2026-07-13 22:01:04 -04:00
13 lines
261 B
Plaintext
13 lines
261 B
Plaintext
// OnDestroy trigger tells the parent asteroid to decrement spawned count by 1
|
|
|
|
trigger OnDestroy()
|
|
{
|
|
obj_id asteroid = getObjIdObjVar(self, "space_mining.parentRoid");
|
|
messageTo(asteroid, "handlePirateKilled", null, 0, false);
|
|
return SCRIPT_CONTINUE;
|
|
}
|
|
|
|
|
|
|
|
|