Spell Globals?
So from what I understand I can make spells global and pretty much make them quest rewards in a way. I have set my globals and all that good stuff and modified my db to enable global checks. However I can't seem to find any info on how to make a spell scriber not scribe the spells that are global. Anyone know any way of making this happen? Hope that makes sense.
|
Anyone have any ideas on this? Starting to hinder my progress a bit.
|
Quote:
Perhaps its a misunderstanding on my part or on yours explaining or maybe even understanding what they spell globals "do"? The following example will scribe all level 1 to 9 spells for all classes: Code:
quest::scribespells (9,1); spellid: 200 spell_name: Minor Healing qglobal: ungimped value: 4 Code:
quest::setglobal("ungimped",4,5,"F"); Does that help you at all? You were just using the word "global" by itself, not really specifying quest or spell as to what type of global, where as both are involved, so it was a little bit of a confusing read (that is to know whether or not you fully understood how it works). If that didn't help, let me know, I'll try to provide more information/code examples. |
I actually didn't write the system, I just spoke about it more than anyone else, as it was highly undocumented.
|
Yes that helped my a lot Ghanja. Only Question Is I have some spells useable by multiple classes that I dont wan't scriber per say. Basically I have a quest that will reward you with an item and a spell of your choice. Ideally I would want the spell scriber to have nothing to do with those spells at all. So im assuming based on the information you provided, I could set all of those spells with a Global of whatever name and all a value of 1. My Question however is do I add text to the
Code:
quest::scribespells(75, 71); Currently I have all the spells set to Globals on and have the spells set to a value of 2. Those spells are quest rewarded and should NOT be scribed by the scriber. However It appears It is still scribing the spells regardless of if the player has the required global or not. |
Oh my. Appears I left globals off on the scriber like an idiot lol. Gave it a update and going to try again.
|
Works perfect. So just to clarify this whole mess there were 0 changes needed to be made aside from my turning on his globals, didnt think to turn them on since there were no global commands in his quest but that fixed the problem! thank you for sparking my little thinker lol
|
All times are GMT -4. The time now is 09:47 AM. |
Powered by vBulletin®, Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.