Scripting => Script Tutorials => Topic started by: Windlord on July 01, 2011, 12:20:09 am
Title: Squirrel Script Structures
Post by: Windlord on July 01, 2011, 12:20:09 am
Squirrel Language Tutorial: Structure & Basics Part 1 (http://www.youtube.com/watch?v=ROXWM0m4VCo#)
Squirrel Language Tutorial: Structure & Basics Part 2 (http://www.youtube.com/watch?v=gMeEkr_AflI#)
Title: Re: Squirrel Script Structures
Post by: Knucis on July 01, 2011, 01:42:11 am
Wow awesome!
Title: Re: Squirrel Script Structures
Post by: Juppi on July 01, 2011, 01:45:17 am
Nice tutorial, especially the environment part. :) Everyone dealing with classes in their scripts should check that bit out.
I would also like to add that you can access everything in the root table if you prefix the slot name with :: . This will work in every environment (=scope), allowing you to use 'global variables' safely. In fact, you'll have to prefix LU native functions with :: if you want to access them safely within a class. Forgetting :: from a native call is a common mistake.
Title: Re: Squirrel Script Structures
Post by: Windlord on July 01, 2011, 01:29:25 pm
Thanks guys :)
And yeah I missed out more class-specific information. I hope to cover it all in another tutorial.
Title: Re: Squirrel Script Structures
Post by: Cypher on September 10, 2011, 01:45:00 am
Nice work, this can be very useful for people that want learn squirrel. :D
Title: Re: Squirrel Script Structures
Post by: Ankit on February 20, 2012, 05:07:41 pm
How Did Windlord Post Topics As Guest?
Title: Re: Squirrel Script Structures
Post by: Thijn on February 21, 2012, 12:48:16 pm
Registering, then post the topic, then remove your account. But it's nothing to worry about :P
Title: Re: Squirrel Script Structures
Post by: murdoxix on October 28, 2014, 05:09:51 am
Videos been deleted! Can someone re-upload them?
Title: Re: Squirrel Script Structures
Post by: Pipec on October 28, 2014, 10:21:18 pm
Try this: http://squirrel-lang.org/#documentation (http://squirrel-lang.org/#documentation) (you need both: 2.x vs 3.x ) and http://liberty-unleashed.co.uk/LUWiki/Main_Page (http://liberty-unleashed.co.uk/LUWiki/Main_Page)