How to disable resting in an area ?
#1
Posted 21 October 2003 - 05:59 PM
Now, I've been digging through script commands and found something interesting - SetAreaRestFlag(I:CanRest*) so I've tried using that in my area script. As far as I can see, parameter '0' should disallow resting while parameter '1' should allow it, but sadly, that doesn't seam to work for me (no efect at all). Any suggestions here ?
#2
Posted 23 October 2003 - 11:19 AM
I'm finalizing my mod at the moment, and it should be ready in a few days. Although it's not really critical, I'd still like to resolve this issue before publishing the next revision.
#3
Posted 23 October 2003 - 01:12 PM
If sleeps gets interrupted all the time, it nearly comes to the same.
NB: romance events which are spawn from the MyNpcD.bcs file are still happening.
Alan M.C.
#4
Posted 23 October 2003 - 02:39 PM
Of course, I could always do something cheesy like creating a bunch of invisible creatures with the ENEMY allegiance and bird avatars and then place them all over the area but that's not really what I was looking for, I wanted a real solution. *Sigh*, I still can't believe that limiting something as basic as resting is so difficult within the IE
#5
Posted 24 October 2003 - 02:15 PM
even if their sleep is interrupted the party still gets 'rested' i.e. the spells are re-memorized, the characters are healed
As far as I know you don't get your spells back nor get healed unless you are fully rested.
Of course, I could always do something cheesy like creating a bunch of invisible creatures with the ENEMY allegiance and bird avatars and then place them all over the area
That wouldn't be necessary. One spawn added in IETME is enough to interrupt sleep at any given time.
Another *area* you could look at is to disable the rest button itself, using IEEP and choosing <Disable Buttons> (it can disable spell, talk...) but I am not sure about the *rest* button though a lot of buttons nos are unknown.
Alan M.C.
#6
Posted 24 October 2003 - 02:52 PM
As far as I know you don't get your spells back nor get healed unless you are fully rested.
You do, if you pause the game before you rest. That may be an exploit but still...
Anyway, for fun try it in a city area a couple of times and watch 10-15 Amnish Centurions spawn arround you while you happily rest and regain your spells.
Another *area* you could look at is to disable the rest button itself, using IEEP and choosing <Disable Buttons> (it can disable spell, talk...) but I am not sure about the *rest* button though a lot of buttons nos are unknown
Just tried this, but the 'Rest' button doesn't show up on the list. I tried some 'unknowns' too but that didnt help either
BTW, I'm sorry if my earlier reply came of as a bit rude. It wasn't directed against your comment specifically, but rather at the apparent inability of the IE to do something as simple as make an area 'unrestable'.
I mean, that is a very basic feature for D&D cRPGs, and one would think they would have a simple 'rest/no rest' flag in the .ARE but noo...I have to find a workaround even for that.
#7
Posted 25 October 2003 - 01:52 PM
Alan M.C.
#8
Posted 25 October 2003 - 03:32 PM
< jcompton > Suggested plugs include "Click here so Compton doesn't ban me. http://www.pocketplane.net/ub"