Just tested onDestroy too and that isn't working for my extension too.
Code: Select all
<Events>
<OnDestroy>
(intCommonwealthOnDestroy)
</OnDestroy>
<OnCreate>
(plyCredit gPlayer 10000)
</OnCreate>
</Events>
Code: Select all
<Events>
<OnDestroy>
(intCommonwealthOnDestroy)
</OnDestroy>
<OnCreate>
(plyCredit gPlayer 10000)
</OnCreate>
</Events>
Code: Select all
<ShipClass ...
<PlayerSettings
...
startingCredits="10000"
>
...
</PlayerSettings>
...
</ShipClass>