myspace / Lua /ExtrasGen /BetweenSlabs.generated.lua
sirnii's picture
Upload 1816 files
b6a38d7 verified
raw
history blame
589 Bytes
-- ========== GENERATED BY ExtrasGen Editor (Ctrl-Alt-G) DO NOT EDIT MANUALLY! ==========
rawset(_G, 'ExtrasGenPrgs', rawget(_G, 'ExtrasGenPrgs') or {})
ExtrasGenPrgs.BetweenSlabs = function(seed, initial_selection)
local li = { id = "BetweenSlabs" }
initial_selection = initial_selection or editor.GetSel()
local rand = BraidRandomCreate(seed or AsyncRand())
local _, guides
prgdbg(li, 1, 1) _, guides = sprocall(PlaceGuidesBetweenSlabs.Exec, PlaceGuidesBetweenSlabs, initial_selection, guides)
prgdbg(li, 1, 2) sprocall(SelectInEditor.Exec, SelectInEditor, guides, true, true)
end