The following warnings occurred:
Warning [2] Undefined array key "lockoutexpiry" - Line: 94 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 94 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "lockoutexpiry" - Line: 573 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 573 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $can_access_moderationqueue - Line: 752 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 752 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined array key "avatartype" - Line: 892 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 892 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined variable $awaitingusers - Line: 34 - File: global.php(959) : eval()'d code PHP 8.4.12 (Linux)
File Line Function
/global.php(959) : eval()'d code 34 errorHandler->error
/global.php 959 eval
/printthread.php 16 require_once
Warning [2] Undefined array key "style" - Line: 1024 - File: global.php PHP 8.4.12 (Linux)
File Line Function
/global.php 1024 errorHandler->error
/printthread.php 16 require_once
Warning [2] Undefined property: MyLanguage::$lang_select_default - Line: 5327 - File: inc/functions.php PHP 8.4.12 (Linux)
File Line Function
/inc/functions.php 5327 errorHandler->error
/global.php 1024 build_theme_select
/printthread.php 16 require_once
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error
Warning [2] Undefined array key "showimages" - Line: 160 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 160 errorHandler->error
Warning [2] Undefined array key "showvideos" - Line: 165 - File: printthread.php PHP 8.4.12 (Linux)
File Line Function
/printthread.php 165 errorHandler->error



2DWorlds Forums
Can we have a group of users that know both roblox and buildism lua... - Printable Version

+- 2DWorlds Forums (http://2dworlds.buildism.net/forum)
+-- Forum: 2DWorlds (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=4)
+--- Forum: 2DWorlds Discussion (http://2dworlds.buildism.net/forum/forumdisplay.php?fid=10)
+--- Thread: Can we have a group of users that know both roblox and buildism lua... (/showthread.php?tid=5789)



Can we have a group of users that know both roblox and buildism lua... - McNoobster - 06-14-2011

Transform scripts for people?

Because I have lots of cool scripts that I think would be cool on here


RE: Can we have a group of users that know both roblox and buildism lua... - broloxer - 06-14-2011

(06-14-2011, 03:45 AM)McNoobster Wrote: Transform scripts for people?

Because I have lots of cool scripts that I think would be cool on here

Scripter does a good job at transfering, also reading the wiki and finding the functions might help.

Here, give me one and I'll try to change it.


RE: Can we have a group of users that know both roblox and buildism lua... - McNoobster - 06-14-2011

[[lua]

--[[----Circle script, by xLEGOx---------
INSTRUCTIONS:
set "rad" to the distance between the center of the cicle and the outer edge
set "reps" to the ammount of bricks in the circle

press the "play" button

and your circle will be created, yays =P
]]

local bin = script.Parent
local orig = bin.Position
script.Parent = game.Workspace

local m = Instance.new("Model")
m.Parent = game.Workspace

----Set these----
local rad = 30
local reps = 30
--------------------

for i = 0, math.pi*2, math.pi*2/reps do
local a = bin:clone()
a.Position = orig+Vector3.new(rad*math.sin(i), 0, rad*math.cos(i))
a.CFrame = CFrame.new(a.Position, orig)
a.Anchored = true
a.Parent = m
end

print("done")

[/lua]


RE: Can we have a group of users that know both roblox and buildism lua... - broloxer - 06-14-2011

(06-14-2011, 03:54 AM)McNoobster Wrote: [[lua]

--[[----Circle script, by xLEGOx---------
INSTRUCTIONS:
set "rad" to the distance between the center of the cicle and the outer edge
set "reps" to the ammount of bricks in the circle

press the "play" button

and your circle will be created, yays =P
]]

local bin = script.Parent
local orig = bin.Position
script.Parent = game.Workspace

local m = Instance.new("Model")
m.Parent = game.Workspace

----Set these----
local rad = 30
local reps = 30
--------------------

for i = 0, math.pi*2, math.pi*2/reps do
local a = bin:clone()
a.Position = orig+Vector3.new(rad*math.sin(i), 0, rad*math.cos(i))
a.CFrame = CFrame.new(a.Position, orig)
a.Anchored = true
a.Parent = m
end

print("done")

[/lua]

Um...

._.


RE: Can we have a group of users that know both roblox and buildism lua... - lol - 06-14-2011

Too lazy to learn, however, I'll guess I'll look at some scripts.


RE: Can we have a group of users that know both roblox and buildism lua... - AK-47 - 06-14-2011

The script above would only work for 2D environments.

If you wheel, this would be hard to re-make.
*If you wanted a wheel


RE: Can we have a group of users that know both roblox and buildism lua... - Jacob__mybb_import1 - 06-14-2011

[lua]
local part = script.Parent
local orig = part.Position
script.Parent = game.World

local m = create("Model")
m.Parent = game.World

local rad = 30
local reps = 30

for i = 0, math.pi*2, math.pi*2/reps do
local a = part:clone()
a.Position = orig:add(Vec2D(rad*math.sin(i), rad*math.cos(i)))
v = a.PositionConfusedub(orig).normalized
a.Rotation = math.deg(math.atan2(v.y, v.x))
a.Fixed = true
a.Parent = m
end
[/lua]

Put the script in a part, and it will make a hollow circle around it out of that part. Works with boxes and circles.


RE: Can we have a group of users that know both roblox and buildism lua... - McNoobster - 06-14-2011

(06-14-2011, 02:01 PM)Jacob_ Wrote: [lua]
local part = script.Parent
local orig = part.Position
script.Parent = game.World

local m = create("Model")
m.Parent = game.World

local rad = 30
local reps = 30

for i = 0, math.pi*2, math.pi*2/reps do
local a = part:clone()
a.Position = orig:add(Vec2D(rad*math.sin(i), rad*math.cos(i)))
v = a.PositionConfusedub(orig).normalized
a.Rotation = math.deg(math.atan2(v.y, v.x))
a.Fixed = true
a.Parent = m
end
[/lua]

Put the script in a part, and it will make a hollow circle around it out of that part. Works with boxes and circles.

Thanks


RE: Can we have a group of users that know both roblox and buildism lua... - Qwertygiy - 06-14-2011

I'm pretty good at both -- I wrote that wiki article.