llde / xOBSE

Oblivion Script extender source
251 stars 36 forks source link

Exposing remaining MGEF flags #152

Open qwertyasdfgh2 opened 2 years ago

qwertyasdfgh2 commented 2 years ago

This is a feature request. Wound be nice to have functions to control the remaining parameters for Magic Effects, which are not currently covered, such as:

Get/SetMagicEffectProjectileType(C) - the projectile types are ball, fog and bolt. Technically, there's also "spray", but it's not functional.

Another 3 flags can only be viewed and edited when using OBME, but they are vanilla flags that exist on magic effects:

Is/SetMagicEffectMagnitudeLevel(C) - determines if effect magnitude is converted into target level, used for example by Illusion effects. TES4Edit currently refers to this flag as "Unknown 30" Is/SetMagicEffectMagnitudeFeet(C) - similar to the above, but when magnitude is displayed as area. Flag "Unknown 31" in TES4Edit. Is/SetMagicEffectExplodesWithForce(C) - not as important, determines if spell explosion will knock havok-ed objects around. Flag "Unknown 29" in TES4Edit.

llde commented 2 years ago

Interesting thanks. Will certainly do