Skip to content

Commit

Permalink
commit from split + Tracer.ms component add
Browse files Browse the repository at this point in the history
  • Loading branch information
Mino-is-me committed Apr 5, 2022
1 parent 2c8d778 commit 28965cf
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import unreal


# src_num = # Binded value from Widget UI
# dst_num = # Binded value from Widget UI
src_num :str #Binded value from Widget UI
dst_num :str # Binded value from Widget UI

ar_asset_lists = unreal.EditorUtilityLibrary.get_selected_assets()

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@
import unreal
import sys

__lo_d_level :str

_num_lod : int = int(__lo_d_level) # Binded value from Widget UI
selected : list = unreal.EditorUtilityLibrary.get_selected_assets() #get selected assets using editorUtilityLib

Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import unreal as ue


#new_size :int = 0
new_size :int
#input from editor

asset_lib :object = ue.EditorAssetLibrary
Expand Down
12 changes: 12 additions & 0 deletions Tracer/Tracer.mcr
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
macroScript tracer_opener
category:"EVE"
ButtonText:"Tracer"
toolTip:"Tracer"
-- icon: #("\\\\10.220.70.12\\eve\\ART_Backup\\Script\\Logo\\eveLogo.bmp")
--iconName:"bmp_index"
--silentErrors:true
--autoUndoEnabled:true
(
on execute do (fileIn "\\\\10.220.70.12\\eve\\ART_Backup\\Script\\Tracer\\Tracer.ms" )
)

22 changes: 22 additions & 0 deletions Tracer/Tracer.ms
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
-- Tracer Script by Mino
if selection.count != 0 do (
with animate on (
for each in selection do (
tracer = dummy()
tracer.name = each.name
tracer.parent = each.parent
for i in animationRange.start to animationRange.end do (
slidertime = i
tracer.transform = each.transform
)
sliderTime = animationRange.start
)
)

$Bip001.controller.figureMode = true
$Bip001.controller.prop1exists = false
$Bip001.controller.figureMode = false

select $'Bip001 Prop1'
)

0 comments on commit 28965cf

Please sign in to comment.