![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
#31 |
Symbol of Cyric
![]() Join Date: March 20, 2006
Location: Europe
Posts: 1,171
|
![]()
This is interesting. You mean the Player has to make the PC ready it? Thus the super-power is not present right from the start? (For this reason I asked in the other thread if it is possible to make a PC/NPC ready an item...)
|
![]() |
![]() |
![]() |
#32 |
Zhentarim Guard
![]() Join Date: July 11, 2005
Location: Saint Louis, Missouri
Age: 51
Posts: 393
|
![]()
Hey, Manikus,
I was playing around with that script you mentioned, it works perfectly, but one small problem. When i have the character unready the item, the stat doesn't go back down to it's true value. Any way to fix that?
__________________
"Where does he get those wonderful toys...?" "Why, I sell my soul, of course...." |
![]() |
![]() |
![]() |
#33 |
Jack Burton
![]() Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
|
![]()
Dinonykos: Yes, there is that issue with readying the item. I have an idea that I will test in DC today though...
I thought about using quests to track/give super powers to PCs, but it seemed like a lot more work. Funky Dynamite: If the item is cursed, they shouldn't be able to unready it. If you want them to be able to unready it, you have to add another script to the item to return to the lower stat or remove the special ability. |
![]() |
![]() |
![]() |
#34 |
Zhentarim Guard
![]() Join Date: July 11, 2005
Location: Saint Louis, Missouri
Age: 51
Posts: 393
|
![]()
I know that. I didn't make my item cursed, I just made my item removable. I was just wondering is there anyway to get the true value back after the item is unreadied
__________________
"Where does he get those wonderful toys...?" "Why, I sell my soul, of course...." |
![]() |
![]() |
![]() |
#35 |
Jack Burton
![]() Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
|
![]()
Yes, there is. But, you have to give the item more scripts. You would have to make the item so that it set ASL that stored the original stat, then change the stat. Upon unreadying the item, it would need to retrieve the info from the ASL and use that to return the stat to it's original value.
|
![]() |
![]() |
![]() |
#36 |
Zhentarim Guard
![]() Join Date: July 11, 2005
Location: Saint Louis, Missouri
Age: 51
Posts: 393
|
![]()
Ok, I thought adding another script was the answer. Problem is, I don't know anything about this script.
Forgive my ignorance, but what's a ASL? ad how do I code a script to code for storing the original stat?
__________________
"Where does he get those wonderful toys...?" "Why, I sell my soul, of course...." |
![]() |
![]() |
![]() |
#37 |
Jack Burton
![]() Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
|
![]()
Oh SilentThief...this is your cue.
![]() ![]() ![]() |
![]() |
![]() |
![]() |
#38 |
Zhentarim Guard
![]() Join Date: July 11, 2005
Location: Saint Louis, Missouri
Age: 51
Posts: 393
|
![]()
Ok, I've figured most of it out.
I want an item to increase a stat when it's readied and set it back to the original stat value when it's unreadied.... I was playing arround with the script editor tonight. (Duh, I didn't even know that there -were- deactivation scripts.) I got it to work...err...kinda. Whenever I unready the item, the stat drops down to 3 (and let's say, the stat was 16 before I readied the item), this happens to whatever character I try the item on. Here's what my deactivation script look like: $RETURN $SET_CHAR_STR($IndexOf($Target()),false); What am I doing wrong?
__________________
"Where does he get those wonderful toys...?" "Why, I sell my soul, of course...." |
![]() |
![]() |
![]() |
#39 |
Symbol of Cyric
![]() Join Date: March 20, 2006
Location: Europe
Posts: 1,171
|
![]()
I have not yet experimented with some of the expressions you used in your script, but perhaps the script sets the stat to the base value of the specific race, not to the value that was rolled/set for the specific character, is that possible?
Which means in your case the base strength was 3 for the specific race. Just an idea... ![]() |
![]() |
![]() |
![]() |
#40 |
Jack Burton
![]() Join Date: July 13, 2001
Location: Stumptown
Age: 53
Posts: 5,444
|
![]()
I think Dinonykos might be on to something.
![]() The word that I would change is 'false'. In place of it, you should either put a number or a variable (such as what is set in an ASL if you are using them). |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calling to all who... | ZFR | Icewind Dale | Heart of Winter | Icewind Dale II Forum | 95 | 03-27-2009 12:02 AM |
Calling all Kiwis | The Hierophant | General Conversation Archives (11/2000 - 01/2005) | 31 | 01-29-2004 04:03 AM |
Calling all Rangers | Legolas the Elven Archer | General Conversation Archives (11/2000 - 01/2005) | 38 | 11-06-2001 08:38 AM |
Religion of colors? Any believers? | Larry_OHF | General Conversation Archives (11/2000 - 01/2005) | 16 | 09-10-2001 03:47 PM |
Conspiracy believers | Neb | General Conversation Archives (11/2000 - 01/2005) | 29 | 09-10-2001 10:15 AM |