Did Moho 13.5 get any scripting Love?
Moderators: Víctor Paredes, Belgarath, slowtiger
Did Moho 13.5 get any scripting Love?
Does anyone know whether 13.5 got any attention in the scripting department? Anything new? Anything fixed?
Moho 14.1 » Win 11 Pro 64GB » NVIDIA GTX 1080ti 11GB
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam
Moho 14.1 » Mac mini 2012 8GB » macOS 10.15 Catalina
Tube: SimplSam
Sam
- hayasidist
- Posts: 3529
- Joined: Wed Feb 16, 2011 8:12 pm
- Location: Kent, England
Re: Did Moho 13.5 get any scripting Love?
yes - there's a couple of new services:
User Preferences Folder: moho:UserPrefsDir()
User Preferences File: moho:UserPrefsFile()
User Content Folder: moho:UserContentDir()
for an example of the return strings, in Moho run Scripts / Script writing / Print Test
but I don't think there's much else in this release .. if I've missed something important, I'm sure someone else will chime in - and ... Stan is usually quite quick in updating the scripting website http://mohoscripting.com/
(there's a few pending requests for new services that hopefully will appear in later versions)
User Preferences Folder: moho:UserPrefsDir()
User Preferences File: moho:UserPrefsFile()
User Content Folder: moho:UserContentDir()
for an example of the return strings, in Moho run Scripts / Script writing / Print Test
but I don't think there's much else in this release .. if I've missed something important, I'm sure someone else will chime in - and ... Stan is usually quite quick in updating the scripting website http://mohoscripting.com/
(there's a few pending requests for new services that hopefully will appear in later versions)
Re: Did Moho 13.5 get any scripting Love?
The pkg files from Moho 13.5 are identical to the ones from 12.5.
________________________________________________________________________
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
https://mohoscripting.com/ - Unofficial Moho Lua scripting documentation
https://mohoscripts.com/ - The best place to publish and download scripts for Moho
- synthsin75
- Posts: 9981
- Joined: Mon Jan 14, 2008 11:20 pm
- Location: Oklahoma
- Contact:
Re: Did Moho 13.5 get any scripting Love?
There are some more new functions in the Vitruvian (lm_bone_groups.lua) and wind tools.
skel:MarkGroupVisibilityUnknown()
skel:FirstSelectedGroup()
skel:AddGroup(moho.layerFrame)
group:AddBone(i)
group:CountBones()
group.fActiveBone:SetValue(moho.layerFrame, 0)
skel:GroupForBone(i, false)
group:RemoveBone(i)
selGroup:ActiveBone()
boneLayer.fWindDirection.value
boneLayer.fWindStrength.value
boneLayer:EvaluateWindTurbulentAngle(origin)
boneLayer:EvaluateWindTurbulentStrength(origin)
boneLayer.fWindTurbulentAmplitude
boneLayer.fWindTurbulentFrequency
There may be more, but that's what I found with a quick look.
skel:MarkGroupVisibilityUnknown()
skel:FirstSelectedGroup()
skel:AddGroup(moho.layerFrame)
group:AddBone(i)
group:CountBones()
group.fActiveBone:SetValue(moho.layerFrame, 0)
skel:GroupForBone(i, false)
group:RemoveBone(i)
selGroup:ActiveBone()
boneLayer.fWindDirection.value
boneLayer.fWindStrength.value
boneLayer:EvaluateWindTurbulentAngle(origin)
boneLayer:EvaluateWindTurbulentStrength(origin)
boneLayer.fWindTurbulentAmplitude
boneLayer.fWindTurbulentFrequency
There may be more, but that's what I found with a quick look.
- Wes
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/
Donations: https://www.paypal.com/paypalme/synthsin75 (Thx, everyone.)
https://www.youtube.com/user/synthsin75
Scripting reference: https://mohoscripting.com/