![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
#1 |
Elite Waterdeep Guard
![]() Join Date: June 30, 2004
Location: german
Age: 43
Posts: 6
|
hello.i am new at script of nwn but chould write some thing later.
i find the weaponsystem like D2 in this server is very interesting , and try to make some like but i donot understand how to deal with the peoblem when pc get a set items with "X uses spell pro day" ,you know , they want to reequip the set items to break limit of "n uses". waiting for your tips or mabey someone could write more about it ,i am new at script. thanks a lot ! |
![]() |
![]() |
![]() |
#2 |
Ironworks Moderator
![]() Join Date: March 1, 2001
Location: Midlands, South Carolina
Age: 49
Posts: 14,759
|
Hi deeper! Glad to have you onboard with us. I am personally weak on scripting. I love building on the Toolset, but I always get help for my scripts, if I bother at all to make any.
Let's see if somebody else can be of help on your script question.
__________________
|
![]() |
![]() |
![]() |
#3 |
Symbol of Moradin
![]() Join Date: June 5, 2002
Location: Slovenia,Ljubljana
Age: 37
Posts: 8,554
|
Welcome to Ironworks deeper! [img]graemlins/happywave.gif[/img] I am curretnly at school and I have instructions at home. I will post as soon as I can.
|
![]() |
![]() |
![]() |
#4 |
Elite Waterdeep Guard
![]() Join Date: June 30, 2004
Location: german
Age: 43
Posts: 6
|
thank you !!! but........why all of you know that i was just
new here ? PS:try to write some about set items ,later will post it here . |
![]() |
![]() |
![]() |
#5 |
Manshoon
![]() Join Date: December 2, 2003
Location: United Kingdom
Age: 56
Posts: 215
|
Hi deeper
There's stuff about set items in an earlier post http://www.ironworksforum.com/ubb/no...c;f=8;t=000313 [ 07-02-2004, 04:32 PM: Message edited by: roddybug ]
__________________
Why should I let the toad work Squat on my life? - Philip Larkin |
![]() |
![]() |
![]() |
#6 |
Elite Waterdeep Guard
![]() Join Date: June 30, 2004
Location: german
Age: 43
Posts: 6
|
thank you ,bug.hehe
but the same problem is here. n uses pro day............ i think i can write a simple one with the help of these,morgen i will post it here. Xen,i am waiting for yours ,lets see what you have ,zezezeze [img]smile.gif[/img] |
![]() |
![]() |
![]() |
#7 |
Elite Waterdeep Guard
![]() Join Date: June 30, 2004
Location: german
Age: 43
Posts: 6
|
if i set the set items` speical power only applyon when pc wear all of them and then have a rest finished.is it rgiht ? or are there some script check the pc-rest type ?when equip a set item check rest-type :finished> then do another sentence .when pc unequip set rest-type falsh.how to write it ?
|
![]() |
![]() |
![]() |
#8 |
Elite Waterdeep Guard
![]() Join Date: June 30, 2004
Location: german
Age: 43
Posts: 6
|
object oPC = GetPCItemLastEquippedBy();
............. int reststat=GetLastRestEventType(); if(reststat==REST_EVENTTYPE_REST_FINISHED) { SetLocalInt(oPC,"rest",1); } int Check=GetLocalInt(oPC,"rest"); if(Check==1) { ...........add itemprop} somewhere wrong,nothing happens .but i donot know . |
![]() |
![]() |
![]() |
#9 |
Elite Waterdeep Guard
![]() Join Date: June 30, 2004
Location: german
Age: 43
Posts: 6
|
////////////this is on pcrest
void main() { object oPC=GetLastPCRested(); int reststat=GetLastRestEventType(); int Check=GetLocalInt(oPC,"rest"); if(reststat==REST_EVENTTYPE_REST_FINISHED) { SetLocalInt(oPC,"rest",1); } ////////////////////this is on onpcequip int Check=GetLocalInt(oPC,"rest"); if (sSword == "bfg_sif_rhand" && sShield == "bfg_sif_lhand" && sHead == "bfg_sif_head" && sChest =="bfg_sif_chest"&& sBoots =="bfg_sif_boot" && Check==1) { } /////////////////this on onpcunequip if (sItemTag == "bfg_sif_rhand" || sItemTag == "bfg_sif_lhand" || sItemTag == "bfg_sif_head" || sItemTag == "bfg_sif_chest" || sItemTag == "bfg_sif_boot") { SetLocalInt(oPC,"rest",0); as you said , i have already made it like this ,but there are some problems,i must wear at least two of the set items that can fire the extra power of the setitem. is there another way ? |
![]() |
![]() |
![]() |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
RE: Archer AI Script | Dundee Slaytern | Baldurs Gate & Tales of the Sword Coast | 5 | 02-28-2003 10:19 AM |
script compilers in bg2 | Throrgrim | Baldurs Gate II: Shadows of Amn & Throne of Bhaal | 3 | 11-27-2002 12:24 PM |
Script help | Lord Splynncryth | Dungeon Craft - RPG Game Maker | 2 | 09-15-2002 11:35 PM |
Script | Wedin | Icewind Dale | Heart of Winter | Icewind Dale II Forum | 3 | 04-06-2002 02:14 PM |
Script Questions | kopema | Icewind Dale | Heart of Winter | Icewind Dale II Forum | 11 | 06-10-2001 05:42 AM |