Mod:Lighthouse Papyrus Extender/Hazard

Hazard Functions
{| style="width:100%;"
 * valign="top" style="width: 85%;" |

ClearHazardFlag

 * Clears the flag  from the Hazard

Function ClearHazardFlag(Hazard akHazard, int aiFlag) global native

GetHazardArt

 * Returns the path to the .nif Art File of the Hazard

String Function GetHazardArt(Hazard akHazard) global native

GetHazardIMOD

 * Returns the ImageSpaceModifier of the Hazard

ImageSpaceModifier Function GetHazardIMOD(Hazard akHazard) global native

GetHazardIMODRadius

 * Returns the radius of ImageSpaceModifier of the Hazard

float Function GetHazardIMODRadius(Hazard akHazard) global native

GetHazardIPDS

 * Returns the ImpactDataSet of the Hazard

ImpactDataSet Function GetHazardIPDS(Hazard akHazard) global native

GetHazardLifetime

 * Returns the Lifetime value of the Hazard

float Function GetHazardLifetime(Hazard akHazard) global native

GetHazardLight

 * Returns the Light of the Hazard

Light Function GetHazardLight(Hazard akHazard) global native

GetHazardLimit

 * Returns the Limit value of the Hazard

int Function GetHazardLimit(Hazard akHazard) global native

GetHazardRadius

 * Returns the Radius value of the Hazard

float Function GetHazardRadius(Hazard akHazard) global native

GetHazardSound

 * Returns the Sound of the Hazard

Sound Function GetHazardSound(Hazard akHazard) global native

GetHazardSpell

 * Returns the Spell set on the Hazard

Spell Function GetHazardSpell(Hazard akHazard) global native

GetHazardTargetInterval

 * Returns the Target Interval value of the Hazard

float Function GetHazardTargetInterval(Hazard akHazard) global native

IsHazardFlagSet

 * Returns whether the flag  on the Hazard   is set

bool Function IsHazardFlagSet(Hazard akHazard, int aiFlag) global native

SetHazardArt

 * Sets the path to the .nif Art File of the Hazard
 * Does not work on active Hazards

Function SetHazardArt(Hazard akHazard, String asPath) global native

SetHazardFlag

 * Sets the flag  on the Hazard

Function SetHazardFlag(Hazard akHazard, int aiFlag) global native

SetHazardIMOD

 * Sets the Hazard's  ImageSpaceModifier to

Function SetHazardIMOD(Hazard akHazard, ImageSpaceModifier akIMOD) global native

SetHazardIMODRadius

 * Sets the value of the Hazard's  ImageSpaceModifier Radius to

Function SetHazardIMODRadius(Hazard akHazard, float afRadius) global native

SetHazardIPDS

 * Sets the Hazard's  ImpactDataSet to

Function SetHazardIPDS(Hazard akHazard, ImpactDataSet akIPDS) global native

SetHazardLifetime

 * Sets the value of the Hazard's  Lifetime to

Function SetHazardLifetime(Hazard akHazard, float afLifetime) global native

SetHazardLight

 * Sets the Hazard's  Light to

Function SetHazardLight(Hazard akHazard, Light akLight) global native

SetHazardLimit

 * Sets the value of the Hazard's  Limit to

Function SetHazardLimit(Hazard akHazard, int aiLimit) global native

SetHazardRadius

 * Sets the value of the Hazard's  Radius to

Function SetHazardRadius(Hazard akHazard, float afRadius) global native

SetHazardSound

 * Sets the Hazard's  Sound to

Function SetHazardSound(Hazard akHazard, Sound akSound) global native

SetHazardSpell

 * Sets the Hazard's  Spell to

Function SetHazardSpell(Hazard akHazard, Spell akspell) global native

SetHazardTargetInterval

 * Sets the value of the Hazard's  Target Internval to

Function SetHazardTargetInterval(Hazard akHazard, float afInterval) global native


 * valign="top" style="width: 15%;"|


 * }