Difference between revisions of "OBSE Wish List"
remove stuff that's been fulfilled
imported>Angel |
imported>Scruggs (remove stuff that's been fulfilled) |
||
Line 26: | Line 26: | ||
*'''castut''' - when called, the actor casts a spell in the direction he/she is facing without needing a target. | *'''castut''' - when called, the actor casts a spell in the direction he/she is facing without needing a target. | ||
*'''DeleteClonedForm''' - Delete the reference and base object of a cloned form like DeleteFullActorCopy | *'''DeleteClonedForm''' - Delete the reference and base object of a cloned form like DeleteFullActorCopy | ||
*'''SetObjectAlpha''' - Just like SetActorAlpha except works on any object, not just actors. | *'''SetObjectAlpha''' - Just like SetActorAlpha except works on any object, not just actors. | ||
*'''EnablePlayerControls2/DisablePlayerControls2''' - Acts like the original functions but without hiding UI. | *'''EnablePlayerControls2/DisablePlayerControls2''' - Acts like the original functions but without hiding UI. | ||
*'''Resurrect2''' - Like Resurrect but doesn't remove all of your abilities when called on the player, nor causes camera issues. | *'''Resurrect2''' - Like Resurrect but doesn't remove all of your abilities when called on the player, nor causes camera issues. | ||
* '''PushActorAway2''' - just like [[PushActorAway]] except that the calling ref don't have to be an [[Actor]] | * '''PushActorAway2''' - just like [[PushActorAway]] except that the calling ref don't have to be an [[Actor]] | ||
*'''ResurrectActorHealthPercent'''- Resurrects the target actor with the given health remaining. | *'''ResurrectActorHealthPercent'''- Resurrects the target actor with the given health remaining. | ||
==Modifications/Extensions of OBSE Functions== | ==Modifications/Extensions of OBSE Functions== | ||
*'''IsKeyPressed2+3''' - IsKeyPressed2 can pick up tapped keys, IsKeyPressed3/IsControlPressed can pick up disabled keys. Combining them into one IsKeyPressed4 function would be nice, but more to the point being able to do both with an IsControlPressed2 would make coding much easier. | *'''IsKeyPressed2+3''' - IsKeyPressed2 can pick up tapped keys, IsKeyPressed3/IsControlPressed can pick up disabled keys. Combining them into one IsKeyPressed4 function would be nice, but more to the point being able to do both with an IsControlPressed2 would make coding much easier. | ||
*'''MessageBoxEx Centre Message''' - add a new command to force the text in a message box to be centred, in the same way that the buttons are. | *'''MessageBoxEx Centre Message''' - add a new command to force the text in a message box to be centred, in the same way that the buttons are. | ||
*'''SetRaceNthSpell''' - Sets the race's Nth spell. Useful for adding spells to races without conflicting with other mods, when used in combination with GetRaceSpellCount. | *'''SetRaceNthSpell''' - Sets the race's Nth spell. Useful for adding spells to races without conflicting with other mods, when used in combination with GetRaceSpellCount. | ||
*'''MessageBoxEx Silent Menu''' - Add a way to set the box to silent, so no sound plays when the menu pops up and no sound plays when you click a button. Useful for mods where you want to play your own custom sound for just one menu, or want to play a sound while the menu is there, without being cut off by the sound the MessageBox makes. | *'''MessageBoxEx Silent Menu''' - Add a way to set the box to silent, so no sound plays when the menu pops up and no sound plays when you click a button. Useful for mods where you want to play your own custom sound for just one menu, or want to play a sound while the menu is there, without being cut off by the sound the MessageBox makes. | ||
==Language Enhancements== | ==Language Enhancements== | ||
Line 52: | Line 46: | ||
*Global reference variables, to avoid issues where calling '''quest.refVar.someFunction''' is not allowed. | *Global reference variables, to avoid issues where calling '''quest.refVar.someFunction''' is not allowed. | ||
*'''Return2''' - Unlike ''Return'' stopping the scripts in this frame, ''Return2'' only breaks the current block and other blocks in the same script can be still run. Useful for the script writers who want to use multiple ''Return'' to reduce the use of nested if/endif blocks without missing the calling of other blocks. | *'''Return2''' - Unlike ''Return'' stopping the scripts in this frame, ''Return2'' only breaks the current block and other blocks in the same script can be still run. Useful for the script writers who want to use multiple ''Return'' to reduce the use of nested if/endif blocks without missing the calling of other blocks. | ||
*'''OnDetect'''- runs when the actor detects the target actor. | *'''OnDetect'''- runs when the actor detects the target actor. | ||
Line 81: | Line 74: | ||
Functions that return a reference: | Functions that return a reference: | ||
*'''getLastActivated''' - Returns a reference to the last object activated by the player or calling actor. | *'''getLastActivated''' - Returns a reference to the last object activated by the player or calling actor. | ||
==Actor Functions== | ==Actor Functions== | ||
Line 120: | Line 111: | ||
*'''Add/RemoveMajorSkill''' - Adds or removes major skill on calling actor. | *'''Add/RemoveMajorSkill''' - Adds or removes major skill on calling actor. | ||
*'''Add/RemoveClassSkill''' - Adds or removes class skill for indicated class (If above request is prohibitive) | *'''Add/RemoveClassSkill''' - Adds or removes class skill for indicated class (If above request is prohibitive) | ||
*'''GetCollidingRefs''' - returns an array of the references colliding with the calling reference. <OR> '''GetFirst/NextCollidingRef''' - returns one at a time. | *'''GetCollidingRefs''' - returns an array of the references colliding with the calling reference. <OR> '''GetFirst/NextCollidingRef''' - returns one at a time. | ||
*'''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. |