DysoForums Forum Index DysoForums
 
GalleryGallery   Donate to DysotopiaDonate   Dysotopia.com homepageDyso.com
SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   StatisticsStats   RegisterRegister 
 Login to check your private messagesLogin to check your private messages   LoginLogin 

Resting script question

 
Post new topic   Reply to topic    DysoForums Forum Index -> Worldbuilders
View previous topic :: View next topic :: Hide signatures  
Author Message
Little Teapot
Deity


Joined: 11 Sep 2002
Posts: 2332

Level: 39
XP
EXP: 31 / 160 EXP: 31 / 160 EXP: 31 / 160
 19%
PostPosted: Wed Apr 23, 2003 1:43 am    Post subject: Resting script question Reply with quote

I am planning on making a gigundous 100+however many dungeon/house ares i decide to put in (surface) area mod which is True RP (or perfect HCR) and I was wondering if there was any way to tag which of a caster's spell slots had been cast from (glorin has cast his Horrid Wilting slot)
more so, if you can de-memorize/remove(from spell slots) spells (without need to cast them) as in, i cast X spell from slot Y, i had 3 X's memorized, and i rest, do something that requires the script to be run which then removes a spell from the same SLOT or removes one casting from that level(if you're sorc/bard). (all of this is outlined in the 3rd edition rules)
I prettymuch need to know if there's a function that does that... (removes a spell form a specific slot, detects what slot a spell was cast from, and removes a specific spell level from spells/day)

Also, if anyone is interested in a LOT of area building, i need a friend (to keep me motivated, not-bored, and generally semi-sane)...

(NOTE TO FORUM MODERATORS: if you can make this post sound like it came from a sane persone without changing its message/summarizing it, please do so)
_________________
Matthijs says:
   oh ja, ik weet het zonet nog niet
Matthijs says:
   het ziet er toch wel een beetje naar uit dat we nederlands praten
Matthijs says:
   mischien moet ik dan maar eens vaker nederlands gaan praten
Matthijs says:
   kan je me ook meteen niet op al mijn spellinsfouten wijzen
There you have it! indisputable proof Solo's a fascist!!!
Back to top
View users profile Send private message Send email AIM Address MSN Messenger
Glorin
PostWed 04/23/03 2:28am
im interested in area building  Reply with quote
 
Coral_Reef
PostWed 04/23/03 3:29pm
Can you explain what you want to do with spells and ... why?

I'm don't understand your post.
 Reply with quote
 
Little Teapot
Deity


Joined: 11 Sep 2002
Posts: 2332

Level: 39
XP
EXP: 31 / 160 EXP: 31 / 160 EXP: 31 / 160
 19%
PostPosted: Wed Apr 23, 2003 7:54 pm    Post subject: Reply with quote

ok, I want to make a script that checks (on rest) if they've cast a spell of a particular level or from that same slot within 8 hours (i can get the time they cast it, no problem) and then, if they have cast a spell of that level/from that slot within 8 hours, de-memorize that spell. I want to know if there are any functions that detect: 1) what spell slot the spell was cast form
2) the level of a certain spell
3) remove a spell from a certain slot
4) remove 1 spell from a certain level (sorcerer & bard spells)

I'm too lazy to look, and I don't really feel like messing around with NW script ATM

also, Glorin; right now the areas have very tough requirements...
_________________
Matthijs says:
   oh ja, ik weet het zonet nog niet
Matthijs says:
   het ziet er toch wel een beetje naar uit dat we nederlands praten
Matthijs says:
   mischien moet ik dan maar eens vaker nederlands gaan praten
Matthijs says:
   kan je me ook meteen niet op al mijn spellinsfouten wijzen
There you have it! indisputable proof Solo's a fascist!!!
Back to top
View users profile Send private message Send email AIM Address MSN Messenger
Coral_Reef
PostWed 04/23/03 9:00pm
Why do you want to do this?  Reply with quote
 
Little Teapot
Deity


Joined: 11 Sep 2002
Posts: 2332

Level: 39
XP
EXP: 31 / 160 EXP: 31 / 160 EXP: 31 / 160
 19%
PostPosted: Wed Apr 23, 2003 9:03 pm    Post subject: Reply with quote

so I can have a REAL HCR ersting script, instead of that "rest only every 5 minutes" crap on half the servers everywhere

basically I want to make a True D&D mod. not HCR (which sucks), not HCR lite, but D&D as it is in the books
_________________
Matthijs says:
   oh ja, ik weet het zonet nog niet
Matthijs says:
   het ziet er toch wel een beetje naar uit dat we nederlands praten
Matthijs says:
   mischien moet ik dan maar eens vaker nederlands gaan praten
Matthijs says:
   kan je me ook meteen niet op al mijn spellinsfouten wijzen
There you have it! indisputable proof Solo's a fascist!!!
Back to top
View users profile Send private message Send email AIM Address MSN Messenger
Balkur
Adept


Joined: 05 Oct 2002
Posts: 86

Level: 8
XP
EXP: 5 / 19 EXP: 5 / 19 EXP: 5 / 19
 26%
PostPosted: Wed Apr 23, 2003 11:02 pm    Post subject: Reply with quote

Yes, you should be able to, theres some built in functions:

DecrementRemainingSpellUses(), GetCalendarDay(), GetHour(), GetLastSpell(), GetLastSpellCaster(),
and a nwn standard script you'll probably have to modify... nw_c2_defaultb (the standard OnSpellCastAt script).

Then set local vars on the PC and do the computation in your OnRest script.


I'm very curious, what do you have planned for death penalties in your system?
Back to top
View users profile Send private message
Little Teapot
Deity


Joined: 11 Sep 2002
Posts: 2332

Level: 39
XP
EXP: 31 / 160 EXP: 31 / 160 EXP: 31 / 160
 19%
PostPosted: Wed Apr 23, 2003 11:12 pm    Post subject: Reply with quote

umm... Level down? icon_twisted.gif

but I wouldn't worry about dying, there'd be a pleasant gradual monster graduation (redundant), so each level would blend nicely into the other...

[edit]
About Area development: Please send Any PM's to me if you want more info about making areas for my module.
[/edit]
_________________
Matthijs says:
   oh ja, ik weet het zonet nog niet
Matthijs says:
   het ziet er toch wel een beetje naar uit dat we nederlands praten
Matthijs says:
   mischien moet ik dan maar eens vaker nederlands gaan praten
Matthijs says:
   kan je me ook meteen niet op al mijn spellinsfouten wijzen
There you have it! indisputable proof Solo's a fascist!!!
Back to top
View users profile Send private message Send email AIM Address MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    DysoForums Forum Index -> Worldbuilders All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2.0.2 © 2001, 2002 phpBB Group