
Posts
41
Respect
Forum Rank
Legless Crawler
Primary Group
Donator ♥
Login Issues
Forgot password?Activate Issues
Account activation email not received? Wrong account activation email used?Other Problems?
Contact Support - Help Center Get help on the UGX Discord. Join it now!![]() | Benevolent Soul who has our eternal gratitude and exclusive access to betas and the donator section of the forum. |
a_function()
{
iprintln("Printing something");
}
a_function()
{
str = "Something to print"; // a local string variable
println(str); // prints the local str variable that holds a string
}
a_function()
{
iprintln(level.script); // prints the global variable's "script" property that is associated with the global variable
}
a_function()
{
a = 1;
b = 5;
a_function_calc(a, b);
}
a_function_calc(num_one, num_two)
{
iprintln((num_one + num_two));
}
a_function()
{
trig = spawn("trigger_radius", (0,0,0), 0, 36,36);
trig thread a_function_obj();
trig.a_num = 1;
trig notify("exec");
}
a_function_calc()
{
self waittill("exec");
iprintln(self.a_num);
}