Myfirstscript
Revision as of 01:15, 3 May 2010 by imported>Persidon (My First Script - part 1)
welcome to the G.E.C.K basic scripting tutorial.
- What Is A Script
- Point 2
More about point 2 - Point 3
- Sub-Point 1
- Sub-Point 2
- Point 4 Point 4.5?
- Point 5
First off, what is a script. A script is a segment of code written by the writter to produce outcome effects. Say for example:
scriptname MyFirstScript Begin OnActivate Showmessage Mymessage end
Whats all this you say. It's quite simple actually.
scriptname : this defines the scriptname. You must have a scriptname or you cant compile(save) it.
Begin OnActivate : This is the most important part of script, OnActivate is one of three main block types. the others are, GameMode and MenuMode.
ShowMessage MyMessage : Shows the message MyMessage, wich is hello world.
End : is a must have or it wont compile.
There you go, its simple isn't it.
`````