SetTargetNameValue: Difference between revisions

From Compost Wiki
Jump to navigation Jump to search
FabienT (talk | contribs)
No edit summary
FabienT (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 4: Line 4:
Target names can be one of the following 4 strings:
Target names can be one of the following 4 strings:


* ‘THIS‘ for the current destination op's target name (will throw if [[IsGoToTargetDestinationOp]]? Is false)
* ‘THIS’ for the current destination op's target name (will throw if [[IsGoToTargetDestinationOp]]? is false)
* ‘UNDERSIZE’ will lookup the undercut target name when you are in a probing op where the undersize response is set to GoTo
* ‘UNDERSIZE’ will lookup the undercut target name when you are in a probing op where the undersize response is set to GoTo
* ‘OVERSIZE will look up the oversize target name when you are in a probing op where the oversize response is set to GoTo
* ‘OVERSIZE’ will look up the oversize target name when you are in a probing op where the oversize response is set to GoTo
* ‘SUCCESS’ will look up the success target name when you are in a probing op where the success response is set to GoTo
* ‘SUCCESS’ will look up the success target name when you are in a probing op where the success response is set to GoTo


}}
}}
{{Stats|id=1009|type=Command|class=All Machines|scope=|version=13.8.27}}
{{Stats|id=1009|type=Command|class=All Machines|scope=|version=13.8.27}}

Latest revision as of 07:06, 3 July 2024

SetTargetNameValue(‘T’, ‘N’, VALUE#)

Description

Saves the value# in the map slot ‘N’ for the target name ‘T’.

Target names can be one of the following 4 strings:

  • ‘THIS’ for the current destination op's target name (will throw if IsGoToTargetDestinationOp? is false)
  • ‘UNDERSIZE’ will lookup the undercut target name when you are in a probing op where the undersize response is set to GoTo
  • ‘OVERSIZE’ will look up the oversize target name when you are in a probing op where the oversize response is set to GoTo
  • ‘SUCCESS’ will look up the success target name when you are in a probing op where the success response is set to GoTo


Stats

ID 1009
Type Command
Class All Machines
Min Version 13.8.27