Here is the useful bit of the terminal script:
ref rPart ref rFab ref rItem ; choose proper part based on which terminal if getisreference TDGFabCoreRef set rPart to TDGPartCentralCore ... check for the other five machines ... else set rPart to TDGPartLimbActivator endif ; get position for drop set rFab to getlinkedref set TDGGenQuest.iLevel8X to rFab.getpos x set TDGGenQuest.iLevel8Y to rFab.getpos y set TDGGenQuest.iLevel8Z to rFab.getpos z + 128 ; drop item and set position set rItem to placeatme rPart 1 rItem.setpos x TDGGenQuest.iLevel8X rItem.setpos y TDGGenQuest.iLevel8Y rItem.setpos z TDGGenQuest.iLevel8Z
The "placeatme" wiki entry says you should not use other commands in the same frame as placeatme. But sometimes the items shows up in the correct location above the output tray, which is the linked reference of the terminal. A terminal script does not allow "begin gamemode" so I cannot conveniently wait a frame, and then move it. Since there are six machines, I can't cheat with one quest script; it has no way to know which item is needed.
How can I arrange to consistently move this item to the output tray after creating it?



Sign In
Create Account

Back to top









