Author Topic: Squirrel Script Structures  (Read 11423 times)

Windlord

  • Guest
Squirrel Script Structures
« on: July 01, 2011, 12:20:09 am »
Squirrel Language Tutorial: Structure & Basics Part 1


Squirrel Language Tutorial: Structure & Basics Part 2

Knucis

  • Jr. Member
  • **
  • Posts: 50
  • Karma: +2/-2
    • View Profile
Re: Squirrel Script Structures
« Reply #1 on: July 01, 2011, 01:42:11 am »
Wow awesome!

Juppi

  • Developer
  • Jr. Member
  • *****
  • Posts: 86
  • Karma: +3/-1
    • View Profile
    • Kuslahden alaste GTA:MP clan
Re: Squirrel Script Structures
« Reply #2 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.

Windlord

  • Guest
Re: Squirrel Script Structures
« Reply #3 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.

Cypher

  • Newbie
  • *
  • Posts: 39
  • Karma: +0/-0
  • Don't steal my yakuza stinger!
    • View Profile
Re: Squirrel Script Structures
« Reply #4 on: September 10, 2011, 01:45:00 am »
Nice work, this can be very useful for people that want learn squirrel.  :D




Ankit

  • Newbie
  • *
  • Posts: 21
  • Karma: +0/-3
    • View Profile
Re: Squirrel Script Structures
« Reply #5 on: February 20, 2012, 05:07:41 pm »
How Did Windlord Post Topics As Guest?

Thijn

  • Tester
  • Sr. Member
  • ****
  • Posts: 531
  • Karma: +27/-16
    • View Profile
Re: Squirrel Script Structures
« Reply #6 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

murdoxix

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Re: Squirrel Script Structures
« Reply #7 on: October 28, 2014, 05:09:51 am »
Videos been deleted! Can someone re-upload them?

Pipec

  • Newbie
  • *
  • Posts: 14
  • Karma: +1/-0
    • View Profile
Re: Squirrel Script Structures
« Reply #8 on: October 28, 2014, 10:21:18 pm »
Videos been deleted! Can someone re-upload them?


Try this:
http://squirrel-lang.org/#documentation (you need both: 2.x vs 3.x )
and
http://liberty-unleashed.co.uk/LUWiki/Main_Page

Good luck.

 

© Liberty Unleashed Team.