Visit the Ironworks Gaming Website Email the Webmaster Graphics Library Rules and Regulations Help Support Ironworks Forum with a Donation to Keep us Online - We rely totally on Donations from members Donation goal Meter

Ironworks Gaming Radio

Ironworks Gaming Forum

Go Back   Ironworks Gaming Forum > Ironworks Gaming Forums > NWN Mod: Escape from Undermountain
FAQ Calendar Arcade Today's Posts Search

Reply
 
Thread Tools Search this Thread
Old 07-01-2004, 02:50 PM   #1
deeper
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 !
deeper is offline   Reply With Quote
Old 07-01-2004, 10:59 PM   #2
Larry_OHF
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.
__________________
Larry_OHF is offline   Reply With Quote
Old 07-02-2004, 11:44 AM   #3
Xen
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.
Xen is offline   Reply With Quote
Old 07-02-2004, 03:04 PM   #4
deeper
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 .
deeper is offline   Reply With Quote
Old 07-02-2004, 04:30 PM   #5
roddybug
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
roddybug is offline   Reply With Quote
Old 07-02-2004, 05:49 PM   #6
deeper
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]
deeper is offline   Reply With Quote
Old 07-03-2004, 03:25 AM   #7
deeper
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 ?
deeper is offline   Reply With Quote
Old 07-03-2004, 07:14 AM   #8
deeper
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 .
deeper is offline   Reply With Quote
Old 07-06-2004, 04:26 PM   #9
deeper
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 ?
deeper is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On

Forum Jump

Similar Threads
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


All times are GMT -4. The time now is 06:58 PM.


Powered by vBulletin® Version 3.8.3
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
©2024 Ironworks Gaming & ©2024 The Great Escape Studios TM - All Rights Reserved