Forum

> > CS2D > Scripts > How to make a scripts?
Forums overviewCS2D overview Scripts overviewLog in to reply

English How to make a scripts?

4 replies
To the start Previous 1 Next To the start

old Re: How to make a scripts?

EngiN33R
Moderator Off Offline

Quote
1. read
2. the
3. fucking
4. manual
5. god
6. people
7. like
8. you
9. annoy
10. me

What? You asked for 1 2 3 4 5 6 7 8 9 10 - there you go.

old Re: How to make a scripts?

Starkkz
Moderator Off Offline

Quote
1.- You need an Editor
( I recomend you to use Notepad++)

2.- You have to know basic habilities for Lua
(Conditionals, Arrays, Strings, Integers)

3.- You need to know a lot of maths
(Angle, Percent, Spliting, etc)

4.- You'll take functions to make your scripts.
(If you need help, take a look to the manual)
http://www.lua.org/manual/5.1/

5.- You have to know how to use basic types:
Arrays / Tables: http://www.lua.org/manual/5.1/manual.html#pdf-table
Strings: http://www.lua.org/manual/5.1/manual.html#pdf-string
Numbers: http://www.lua.org/manual/5.1/manual.html#pdf-math

If you learn more from the Introduction to the Complete Syntax of Lua, it'll be more easier.
To the start Previous 1 Next To the start
Log in to reply Scripts overviewCS2D overviewForums overview