Difference between revisions of "OBSE Wish List"

Jump to navigation Jump to search
765 bytes added ,  17:04, 23 July 2010
imported>Angel
imported>Angel
Line 123: Line 123:
*'''TrainSkill'''- similar to advskill, only trains the skill as if you are training it in-game.
*'''TrainSkill'''- similar to advskill, only trains the skill as if you are training it in-game.
*'''IsRemoved'''- to check if a ''persistent'' reference is removed from the game - for instance put in chest scripted with RemoveAllItems, dropped in an oblivion world which got purged or put in the inventory of a dead actor which got deleted. IsFormValid returns true for a persistent reference in all these cases, and there seems to be no way to know if such a reference is still around.
*'''IsRemoved'''- to check if a ''persistent'' reference is removed from the game - for instance put in chest scripted with RemoveAllItems, dropped in an oblivion world which got purged or put in the inventory of a dead actor which got deleted. IsFormValid returns true for a persistent reference in all these cases, and there seems to be no way to know if such a reference is still around.
*'''ForceFunctionValue'''- Forces a function to always return a value with the number specified. For instance
ForceFunctionValue GetIsPlayableRace 0
would force the function GetIsPlayableRace to return 0, no matter what the calling reference is. Adding an optional reference parameter would set the function to return a specific value whenever the function is called on that reference. So,
ForceFunctionValue GetIsPlayableRace 0 player
would force GetIsPlayableRace to return 0 every time it is called on the player, but normal values any time it's called on someone else. For debug, limitation, and  certain Gameplay Effect purposes.
*'''ReleaseFunctionOverride'''- Releases the effect of ForceFunctionValue and allows the function to continue acting normally.


==Questionable Requests==
==Questionable Requests==
Anonymous user

Navigation menu