User talk:Smeister

From the Oblivion ConstructionSet Wiki
Revision as of 20:39, 3 April 2006 by imported>Smeister
Jump to navigation Jump to search

Doppelganger 20:41, 3 April 2006 (EDT): You seem like a good source of information. I guess we should start using your talk page for random inquiries. So, about changing the player's current health without adjusting any "permanent" modifiers or stats...

From the other page: Okay, so I'll cut to the chase: How can I have the user gain health periodically without changing any modifiers and without forcing them to cast a spell? Would I have to "pulse" an ability (eg, add and remove) for epsilon time? That doesn't seem to work (I just tried it). Would I have to create an NPC in the boondocks to occassionally cast the spell on the player?

--Smeister 21:39, 3 April 2006 (EDT) Do you want a RESTORATION, or a FORTIFICATION? If you just want the PC's health to automatically get restored every once in a while, you should be able to make an ability with Restore Health, and in your script do an addspell, wait a while, then removespell. The ability will cause the player's health to automatically restore up to full at the rate of magnitude per second while the ability is in effect. If you want to periodically (and permanently) increase the player's maximum health, then you'll have to setav health to getbaseav health + however much you want to increase it by.