Help - Search - Members - Calendar
Full Version: Scripting Tutorial
The Nexus Forums > Specific Games > Oblivion > Oblivion Modifications > File Requests/Suggestions
darkninjaproductions
If anyone could point me in the right direction of a good scripting tutorial it would much appreciated

Many Thanx Darkninja Productions
Vagrant0
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.
darkninjaproductions
Many Thanx ill start learning by trial and error lol n just studing scripts to see how they work many thanx ur all so helpful biggrin.gif thanks.gif
jaysus
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
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.