capturing signal
Moderators: Moderators for English X Forum, Scripting / Modding Moderators
capturing signal
anyone knows how set up capturing signal for the ship ?
Re: capturing signal
There's a command in the general section... Something like Set Signal blah blah blah...echo_buzz wrote:anyone knows how set up capturing signal for the ship ?
Haven't tried it though, dunno if it works.
Alex.
Maybe this helps:
((Init.myshipscript))
$shipobj = some ref to a specific ship in a sector
$shipobj -> connect ship command/signal COMMAND_IDLE to script myshipscript with prio 100
START $shipobj -> command COMMAND_IDLE : arg1=null, arg2=null, arg3=null, arg4=null
...
return null
((myshipscript:))
[THIS] -> set command: COMMAND_IDLE
....
return null
((Init.myshipscript))
$shipobj = some ref to a specific ship in a sector
$shipobj -> connect ship command/signal COMMAND_IDLE to script myshipscript with prio 100
START $shipobj -> command COMMAND_IDLE : arg1=null, arg2=null, arg3=null, arg4=null
...
return null
((myshipscript:))
[THIS] -> set command: COMMAND_IDLE
....
return null