|Top Previous Next|
The Assignment statement, represented by an equals (=) sign, sets the object or property on the left-hand side of the equals sign to the value specified on the right-hand side of the equals sign. This statement can be used to set the properties of one Spacecraft equal to those of another Spacecraft (the Name property is not assigned in order to keep the names of each object unique). For more information, see the Matrix, Array, and Variable Math Script Reference.
You can assign the following object types:
Note: When assigning one object to another, the Name property will not transfer in order to keep the names of the objects unique. You are able to assign the name explicitly if desired (e.g. Spacecraft1.Name = Spacecraft2.Name).
Left side of expression
Right side of expression