Jump to content

Scripting Tutorial


darkninjaproductions

Recommended Posts

There's no particular scriptng tutorial so much as tutorials for specific aspects of scripting and pieces of scripts. Most of scripting is done by figuring what you want to do, and then connectiong functions and statements together to see if you can make it happen. It's one of those things which you can only really learn from doing, and looking at how other scripts are written.
Link to comment
Share on other sites

a script works like this:

 

scriptname yourscriptname -------- defines the scriptname and is also the first line

 

begin (for example: onequip) ------------- defines when a script starts

 

do somin (for example: player.addspell spellname) ---------- the part where you script does all the cool stuff

 

end -------- ends that block (every block consists of "begin" blablabla and then "end", you can make more than one block per script)

 

to find the right "words" or commands go to the link named above and search... or search through other scripts

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...