Scripting Megathread!
Posted: Tue Sep 11, 2012 1:20 am
Here you can ask for help about problems you're stuck on, give and get advice by others about your script, or just show off chunks of code you're proud of!
I think it'd be highly appropriate to have a thread like this for many reasons:
Alot of threads created by those looking for help are often overlooked.
Sometimes people will stop visiting a thread even if that person still needs help.
With a thread like this, everyone would be able to congregate in one spot to talk about specific problems, increasing forum activity.
I feel like beginners like myself who follow this thread will be able to pick up on alot about scripting and logic by simply looking at solutions to others problems.
To start off, I'll show off a block of code I just made for fun:
I think it'd be highly appropriate to have a thread like this for many reasons:
Alot of threads created by those looking for help are often overlooked.
Sometimes people will stop visiting a thread even if that person still needs help.
With a thread like this, everyone would be able to congregate in one spot to talk about specific problems, increasing forum activity.
I feel like beginners like myself who follow this thread will be able to pick up on alot about scripting and logic by simply looking at solutions to others problems.
To start off, I'll show off a block of code I just made for fun:
- Code: Select all
int Birth=0;
double Death=Year*78.06
if (YourLifespan>=Birth && <=Death){Live=1;}
if (YourLifespan<Birth){CreateActor("Body", "Perpetual_Growth", "Spirit", "(none)", 0, 0, false);}
if (YourLifespan>Death){DestroyActor("Event Actor");ChangeParent("Spirit", "(none)");}