You are here

How to make a Unique Power Item apply Rested on PC

5 posts / 0 new
Last post
Foghopper
How to make a Unique Power Item apply Rested on PC

I have worked out how to make a Unique Power Item and the scripting for having them activate.

I had the idea of creating a 'Travellers Tonic' that would have the unique power of applying Rested to the PC when in a non-rest area without them having to actually rest.

What I need help with is:

A- Would it work? or would it being in a non-rest area stop it from being applied?

B-I have not been able to find scripting anywhere for how to apply 'Rested'. How do I do this? 

  • up
    50%
  • down
    50%
TheBarbarian

If I'm not horribly mistaken, there should be a function called ForceRest() that does this. AFAIK it's not inhibited by non-rest areas.

  • up
    100%
  • down
    0%
Foghopper

Thanks. I'll have a look. Was thinking more along the lines of Instantly applying Rested (Full HP & Daily Abilities reset) instantly without time passing or the PC having to rest though.

  • up
    50%
  • down
    50%
Proleric
Proleric's picture

ForceRest does exactly that. Lexicon is your friend.

NWN and DAO adventures at http://proleric.com/

  • up
    100%
  • down
    0%
Foghopper

So it does. perfect! and I now have a new resource bookmarked. Thank you very much.

  • up
    50%
  • down
    50%