ScriptSpot is a diverse online community of artists and developers who come together to find and share scripts that empower their creativity with 3ds Max. Our users come from all parts of the world and work in everything from visual effects to gaming, architecture, students or hobbyists.
myarray = #("name1", "name2", "name3")
fn searchByIndex arr:#() idx:1 =
(
local found
if arr.count!=0 do found = arr[idx]
found
)
searchByIndex arr:myarray idx:2--if not found then return undefined
Comments
myarray = #("name1", "name2",