This script will make it easy for you to find useful, ready-made custom functions hidden away in the dozens of Obsidian/Bioware �include� files that come with the game.
This file has been invaluable to me. It has saved me countless hours of scripting, allowed me to do things I would not have been able to do otherwise and gave me great ideas for my own custom functions.
------------
INSTRUCTIONS
- Save the �#EC_super_include.nss� file to your mod directory.
- In the Toolset, open the script and show Script Assist. You will then see hundreds of custom functions appear in the list. This may take a few seconds. (You may have to flip between Script Assist�s Functions/Globals tabs a couple of times to get the list to show.)
- When you find a function that sounds interesting, right click it and select �Go to definition�. This will take you to the actual library that defines the function.
- When you want to include one of these functions in your script, just #include the library in your script as usual.
------------
HOW IT WORKS:
- This �script� simply references all known function libraries that come with the game.
- Use it as a reference only, and not as a template for actual scripts.
- You will get an error if you try to compile it. You can disregard it.
Posted by PGB01 at 2011-11-29 02:38:45 Voted 10.00 on 11/29/11
I've used this 100's of times.
Posted by kevL's at 2011-02-25 21:14:44 Voted 8.75
holy cats!
now I have more extra functions that I can shake a cat at!!
thx for this EC, i've been adding more includes as i go .. _________________________ All the world's a stage ... but so what.
Posted by alupinu at 2011-02-20 23:22:12 Voted 9.75 on 02/20/11
More functions are good... _________________________ Murder in Dunlop Fanglewood
My Class is Rogue ... "You look surprised to see me. If you'd been paying attention, you might still be alive."
Posted by _MAU_ at 2010-12-22 14:09:13 Voted 10.00 on 12/22/10
Very helpful, thanks for sharing.
Posted by M. Rieder at 2010-08-22 05:57:59 Voted 10.00 on 08/22/10
Very Helpful. Perhaps another interesting addition would be to somehow index the functions so we know which #include is needed for a given function.
Thanks for the script, it is great. _________________________ The Wizard's Apprentice - A single player adventure for spellcasters guaranteed to rumple your robes and warp your wand!
Posted by Man_From_Geldar at 2010-08-02 16:44:49 Voted 9.00 on 08/02/10
Forgot to vote.
Posted by Man_From_Geldar at 2010-08-02 16:44:13 Voted 9.00 on 08/02/10
I had wanted something like this, thanks for putting this together.
Posted by Morbane_Unhinged at 2010-07-03 01:57:26 Voted 10.00 on 07/03/10
Absolutely awesome - find functions for everything with this. _________________________ |Morbane|
Posted by Alaster Wolf at 2010-03-17 14:07:59 Voted 8.00 on 03/17/10
Very usable.
Posted by Nihlar at 2009-12-19 02:32:46 Voted 9.00 on 12/19/09
A very useful and valuable resource for both scripting newbies as for us more experienced scripters. Thanks for putting it together. _________________________ ZORK - Rediscovering the Great Underground Empire
a re-make of the classic ZORK I, for Neverwinter Nights 2 Amraphael's House of Curious Things
My NWN2-blog
_________________________
If you download it, vote for it!
Edzio: yes I posted it in the forums a while ago. AFAIK, I got all the includes. If you notice an omission, just let me know and I'll add it. _________________________ E.C.Patterson Gaming Parents Studios
Posted by Edzio at 2009-12-17 16:26:26 Voted 10.00 on 12/17/09
I heard about this super include in the bioware forums - just a question - to youe knowledge are there any includes not in the list? _________________________ It is better to have and not need than to need and not have.
Posted by kamal at 2009-12-17 13:03:02 Voted 10.00 on 12/17/09
I'm not much of a coder, so this is incredibly useful. _________________________ Shadow Thief: Crimmor and Path of Evil blog Link
Posted by Developer Silver at 2009-12-17 02:43:26 Voted 9.00 on 12/17/09
Very useful! :-) _________________________ Developer Silver Faerûn Nights Admin
Posted by nicethugbert at 2009-12-16 22:43:19 Voted 10.00 on 12/16/09
Knightmare, Dragonsbane: Thanks. Hope you'll find this as useful as it has been for me.
ShaDoOow: I'm afraid I don't see what you mean. This is meant as a reference only and is not intended to form part of any working script as is. All functions defined in these libraries will appear in Script Assist for searching and browsing, and that is the "script"'s sole purpose. _________________________ E.C.Patterson Gaming Parents Studios
10 - A Masterpiece, Genuinely Groundbreaking 9 - Outstanding, a Must Have 8 - Excellent, Recommended to Anyone 7 - Very Good, Deserves a Look 6 - Good, Qualified Recommendation 5 - Fair, Solid yet Unremarkable 4 - Some Merit, Requires Improvements 3 - Poor Execution, Potential Unrealized 2 - Very Little Appeal 1 - Not Recommended to Anyone