hey, i'm fairly new to scripting in ruby, and i'm confused why i'm getting stuck in an infinite loop when i shouldn't be.
all i have in my scripts is
class BayoScript
def main
p "Hello World"
end
end
... and i'm confused why that would infinite loop. its begin called by an action button event simply using
$scene = BayoScript.new
I've check if the event is being called multiple times but it isnt, it only calls that line once.
This is proberly an easy issue to solve, i've looked around the forums a fair bit but couldn't find a solution.
kindof feels weird to ask such a simple problem when i have a degree in c++ >_> lawl
all i have in my scripts is
class BayoScript
def main
p "Hello World"
end
end
... and i'm confused why that would infinite loop. its begin called by an action button event simply using
$scene = BayoScript.new
I've check if the event is being called multiple times but it isnt, it only calls that line once.
This is proberly an easy issue to solve, i've looked around the forums a fair bit but couldn't find a solution.
kindof feels weird to ask such a simple problem when i have a degree in c++ >_> lawl