Thans for the efforts, gentlemen.
Sorted it out.
Here the explenation:
This call
Code: Select all
$homebase = [PLAYERSHIP]-> get homebase
$return = [PLAYERSHIP]-> call script 'anarkis.lib.jumpmove' : argument1=$homebase
is inside of a script called by a hotkey. Thus, there is no reference object on which this script is running (null call).
Now - my wrong asumption, when calling a script on an object (in this case the playership) from a global script, the called script would run on task 0 of the object.
WRONG! It is not running on task 0, as far as I can see, it is not running at all on some task on the object, but is somehow also running as a global task.
Conclusion: Never - Never ever call something with a call like this
Code: Select all
= $some.object -> call script 'some.script' :
from a global script.
Use instead:
Code: Select all
$some.object-> begin task 0 with script 'some.script' and priority 0: arg1=null arg2=null arg3=null arg4=null arg5=null
Prevents wierd, puzzling results, which make you ask dumb questions in the forum anoying the others.