Topics regarding Scripting with Reality Factory
Graywolf
Posts: 75 Joined: Mon Apr 14, 2008 8:36 pm
Location: Anchorage, Alaska
Contact:
Post
by Graywolf » Fri Jul 25, 2008 3:15 pm
Code: Select all
{
MESS [null]
Spawn[()
{
Console(true);
LowLevel("TheWeird");
}]
TheWeird[()
{
MESS = "(mess) { debug(mess);}";
MESS("Weird, isn't it?!");
}]
}
Sorington
Posts: 77 Joined: Tue Jun 17, 2008 3:42 pm
Contact:
Post
by Sorington » Fri Jul 25, 2008 4:14 pm
I don't understand it lol
Greetings, Sorington
Graywolf
Posts: 75 Joined: Mon Apr 14, 2008 8:36 pm
Location: Anchorage, Alaska
Contact:
Post
by Graywolf » Fri Jul 25, 2008 4:16 pm
It assigns a function to a variable on the fly. It's just a Simkin quirk kinda thing.
Sorington
Posts: 77 Joined: Tue Jun 17, 2008 3:42 pm
Contact:
Post
by Sorington » Fri Jul 25, 2008 4:17 pm
oh I see
Greetings, Sorington
Jay
RF Dev Team
Posts: 1232 Joined: Fri Jul 08, 2005 1:56 pm
Location: Germany
Post
by Jay » Fri Jul 25, 2008 7:20 pm
Wow. I never knew that. I wonder what you can do with it? I mean, in real game applications?
Everyone can see the difficult, but only the wise can see the simple.
-----
Graywolf
Posts: 75 Joined: Mon Apr 14, 2008 8:36 pm
Location: Anchorage, Alaska
Contact:
Post
by Graywolf » Sat Jul 26, 2008 7:25 am
I can't think of any actual game applications, right off hand. (There's probably some use for it...) However, this does have significant implications in relation to live script debugging.
Juutis
Posts: 1511 Joined: Thu Jan 12, 2006 12:46 pm
Location: Finland
Post
by Juutis » Sat Jul 26, 2008 4:32 pm
Wow indeed. I never knew you could do something like this either. Thanks for sharing that Greywolf.
Pain is only psychological.