boarding.pod.return - enenra/x4modding GitHub Wiki

Overview

Sends a boarding pod to dock at a specified target and then removes the pod.


Parameters

param default comment
target The target the boarding pod should dock at.
initialwaittime The delay before the target is moved.
debugoutputchance 0 Whether to display debug text. 100 = debug text activated.
Usage
<run_script name="'boarding.pod.return'" result="$locresponse">
 <param name="target" value="$target"/>
 <param name="initialwaittime" value="10s"/>
 <param name="debugoutputchance" value="100"/>
</run_script>

Interrupts

handler aiscript comment
TargetInvalidHandler interrupt.targetinvalid

Signals

Sending

object param param2 comment
this.ship boarding.pod returned The script has completed successfully.

Receiving

None.

Returns

return comment
null If target does not exist or target does not belong to the player.

Description

This script essentially handles the removal of boarding pods. It either has them dock at a specified target or, if the attention level is low enough, just deletes the pod outright.

Notes

  • This script does not seem to get called by anything currently.
⚠️ **GitHub.com Fallback** ⚠️