mirror of
https://github.com/OpenTrespasser/JurassicParkTrespasser.git
synced 2024-12-24 01:21:57 +00:00
21 lines
295 B
Plaintext
21 lines
295 B
Plaintext
|
Utility ObjHeightFlag "Sel by Obj Height"
|
||
|
(
|
||
|
|
||
|
group "Options"
|
||
|
(
|
||
|
spinner ObjHeight "Height:" range:[0,100,15] type:#float
|
||
|
)
|
||
|
|
||
|
button SelObjects "Select Objects"
|
||
|
|
||
|
on SelObjects pressed do
|
||
|
(
|
||
|
MAX select None
|
||
|
for o in objects do
|
||
|
(
|
||
|
if (o.max.z - o.min.z) > ObjHeight.value do selectmore o
|
||
|
)
|
||
|
)
|
||
|
|
||
|
|
||
|
)
|