Difference between revisions of "User talk:Smeister"

From the Oblivion ConstructionSet Wiki
Jump to navigation Jump to search
imported>Smeister
imported>Halo112358
Line 5: Line 5:


[[User:Smeister|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.
[[User:Smeister|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.
--[[User:Halo112358|Halo112358]] 22:43, 3 April 2006 (EDT) Does [[ModPCSkill]] behave the same way as [[ModActorValue]]? People are reporting trouble when using modAV to grant skill bonuses to the player through a script. The trouble is that the player's active skill value is increased but skill progress is not, there's a  [[Talk:ModPCSkill|thorough explanation]] of the issue on the [[Talk:ModPCSkill]] page. What caught all of us by surprise is that at least one in-game script (the hackdirt quest reward script) grants the player a bonus to a skill using this method.

Revision as of 21:43, 3 April 2006

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.

--Halo112358 22:43, 3 April 2006 (EDT) Does ModPCSkill behave the same way as ModActorValue? People are reporting trouble when using modAV to grant skill bonuses to the player through a script. The trouble is that the player's active skill value is increased but skill progress is not, there's a thorough explanation of the issue on the Talk:ModPCSkill page. What caught all of us by surprise is that at least one in-game script (the hackdirt quest reward script) grants the player a bonus to a skill using this method.