MODSon[line.com] Wiki - Beta 1.0
Scripting
From MODSonline Wiki
(Redirected from Call of Duty 2: Scripting)
Contents |
[edit] What is scripting?
Scripting is a very useful thing. It makes key points of a game run. Because scripts are outside of source, it allows the programmer to make dynamic snipits of code without having to recompile the executable! You can do almost anything with scripts.
The best way to learn how to script is the same with any programming language. I you are new to programming, don't worry, it is easy. To understand how scripts work, you have to look at other scripts and actually get your hands dity. Don't be scared, you can't break anything (unless you edit source scripts). I will go over everything there needs to be known about scripting!
[edit] Pages
- Getting Started
- Syntax
- Variables
- Operators
- Functions
- Threading
- Notify, Endon and Waittill
- If Else
- Switch
- Arrays
- Loops
- Debugging
