You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
389 B
Plaintext
16 lines
389 B
Plaintext
try
|
|
(
|
|
if selection.count > 0 then
|
|
local selArray = selection as Array
|
|
else
|
|
local selArray = Objects as Array
|
|
|
|
for obj in selArray do
|
|
(
|
|
obj.controller.position.controller = TCB_Position()
|
|
obj.controller.rotation.controller = TCB_Rotation()
|
|
obj.controller.scale.controller = TCB_Scale()
|
|
)
|
|
)
|
|
catch
|
|
cryTools.cryAnim.UI.batchProcess._v.customScriptStatus = "Error: Setting TCB" |