Difference between revisions of "InstanceData Script"
Jump to navigation
Jump to search
imported>ShadeMe m (Fix Damage Type linkage) |
imported>ShadeMe (Add all global functions) |
||
Line 26: | Line 26: | ||
== F4SE Global Functions == | == F4SE Global Functions == | ||
*Function [[GetAttackDamage - InstanceData|GetAttackDamage]]() | *int Function [[GetAttackDamage - InstanceData|GetAttackDamage]](Owner akOwner) | ||
** | **desc | ||
*Function [[SetAttackDamage - InstanceData|SetAttackDamage]]() | *Function [[SetAttackDamage - InstanceData|SetAttackDamage]](Owner akOwner, int damage) | ||
** | **desc | ||
*DamageTypeInfo[] Function [[GetDamageTypes - InstanceData|GetDamageTypes]](Owner akOwner) | |||
**desc | |||
*Function [[SetDamageTypes - InstanceData|SetDamageTypes]](Owner akOwner, DamageTypeInfo[] dts) | |||
**desc | |||
*int Function [[GetAmmoCapacity - InstanceData|GetAmmoCapacity]](Owner akOwner) | |||
**desc | |||
*Function [[SetAmmoCapacity - InstanceData|SetAmmoCapacity]](Owner akOwner, int capacity) | |||
**desc | |||
*Ammo Function [[GetAmmo - InstanceData|GetAmmo]](Owner akOwner) | |||
**desc | |||
*Function [[SetAmmo - InstanceData|SetAmmo]](Owner akOwner, Ammo akAmmo) | |||
**desc | |||
*int Function [[GetAccuracyBonus - InstanceData|GetAccuracyBonus]](Owner akOwner) | |||
**desc | |||
*Function [[SetAccuracyBonus - InstanceData|SetAccuracyBonus]](Owner akOwner, int bonus) | |||
**desc | |||
*float Function [[GetActionPointCost - InstanceData|GetActionPointCost]](Owner akOwner) | |||
**desc | |||
*Function [[SetActionPointCost - InstanceData|SetActionPointCost]](Owner akOwner, float cost) | |||
**desc | |||
*float Function [[GetAttackDelay - InstanceData|GetAttackDelay]](Owner akOwner) | |||
**desc | |||
*Function [[SetAttackDelay - InstanceData|SetAttackDelay]](Owner akOwner, float delay) | |||
**desc | |||
*float Function [[GetOutOfRangeMultiplier - InstanceData|GetOutOfRangeMultiplier]](Owner akOwner) | |||
**desc | |||
*Function [[SetOutOfRangeMultiplier - InstanceData|SetOutOfRangeMultiplier]](Owner akOwner, float mult) | |||
**desc | |||
*float Function [[GetReloadSpeed - InstanceData|GetReloadSpeed]](Owner akOwner) | |||
**desc | |||
*Function [[SetReloadSpeed - InstanceData|SetReloadSpeed]](Owner akOwner, float speed) | |||
**desc | |||
*float Function [[GetReach - InstanceData|GetReach]](Owner akOwner) | |||
**desc | |||
*Function [[SetReach - InstanceData|SetReach]](Owner akOwner, float reach) | |||
**desc | |||
*float Function [[GetMinRange - InstanceData|GetMinRange]](Owner akOwner) | |||
**desc | |||
*Function [[SetMinRange - InstanceData|SetMinRange]](Owner akOwner, float minRange) | |||
**desc | |||
*float Function [[GetMaxRange - InstanceData|GetMaxRange]](Owner akOwner) | |||
**desc | |||
*Function [[SetMaxRange - InstanceData|SetMaxRange]](Owner akOwner, float maxRange) | |||
**desc | |||
*float Function [[GetSpeed - InstanceData|GetSpeed]](Owner akOwner) | |||
**desc | |||
*Function [[SetSpeed - InstanceData|SetSpeed]](Owner akOwner, float speed) | |||
**desc | |||
*int Function [[GetStagger - InstanceData|GetStagger]](Owner akOwner) | |||
**desc | |||
*Function [[SetStagger - InstanceData|SetStagger]](Owner akOwner, int stagger) | |||
**desc | |||
*ActorValue Function [[GetSkill - InstanceData|GetSkill]](Owner akOwner) | |||
**desc | |||
*Function [[SetSkill - InstanceData|SetSkill]](Owner akOwner, ActorValue skill) | |||
**desc | |||
*ActorValue Function [[GetResist - InstanceData|GetResist]](Owner akOwner) | |||
**desc | |||
*Function [[SetResist - InstanceData|SetResist]](Owner akOwner, ActorValue resist) | |||
**desc | |||
*float Function [[GetCritMultiplier - InstanceData|GetCritMultiplier]](Owner akOwner) | |||
**desc | |||
*Function [[SetCritMultiplier - InstanceData|SetCritMultiplier]](Owner akOwner, float crit) | |||
**desc | |||
*float Function [[GetCritChargeBonus - InstanceData|GetCritChargeBonus]](Owner akOwner) | |||
**desc | |||
*Function [[SetCritChargeBonus - InstanceData|SetCritChargeBonus]](Owner akOwner, float bonus) | |||
**desc | |||
*Projectile Function [[GetProjectileOverride - InstanceData|GetProjectileOverride]](Owner akOwner) | |||
**desc | |||
*Function [[SetProjectileOverride - InstanceData|SetProjectileOverride]](Owner akOwner, Projectile proj) | |||
**desc | |||
*int Function [[GetNumProjectiles - InstanceData|GetNumProjectiles]](Owner akOwner) | |||
**desc | |||
*Function [[SetNumProjectiles - InstanceData|SetNumProjectiles]](Owner akOwner, int numProj) | |||
**desc | |||
*float Function [[GetSightedTransition - InstanceData|GetSightedTransition]](Owner akOwner) | |||
**desc | |||
*Function [[SetSightedTransition - InstanceData|SetSightedTransition]](Owner akOwner, float seconds) | |||
**desc | |||
*bool Function [[GetFlag - InstanceData|GetFlag]](Owner akOwner, int flag) | |||
**desc | |||
*Function [[SetFlag - InstanceData|SetFlag]](Owner akOwner, int flag, bool set) | |||
**desc | |||
*int Function [[GetArmorHealth - InstanceData|GetArmorHealth]](Owner akOwner) | |||
**desc | |||
*Function [[SetArmorHealth - InstanceData|SetArmorHealth]](Owner akOwner, int health) | |||
**desc | |||
*int Function [[GetArmorRating - InstanceData|GetArmorRating]](Owner akOwner) | |||
**desc | |||
*Function [[SetArmorRating - InstanceData|SetArmorRating]](Owner akOwner, int health) | |||
**desc | |||
*float Function [[GetWeight - InstanceData|GetWeight]](Owner akOwner) | |||
**desc | |||
*Function [[SetWeight - InstanceData|SetWeight]](Owner akOwner, float weight) | |||
**desc | |||
*int Function [[GetGoldValue - InstanceData|GetGoldValue]](Owner akOwner) | |||
**desc | |||
*Function [[SetGoldValue - InstanceData|SetGoldValue]](Owner akOwner, int value) | |||
**desc | |||
*Keyword[] Function [[GetKeywords - InstanceData|GetKeywords]](Owner akOwner) | |||
**desc | |||
*Function [[SetKeywords - InstanceData|SetKeywords]](Owner akOwner, Keyword[] kwds) | |||
**desc | |||
== Member Functions == | == Member Functions == |
Revision as of 19:39, 30 September 2017
Extends: ScriptObject
Script for the manipulation of object InstanceData.
Definition
ScriptName InstanceData Native Hidden
Properties
None
F4SE Structs
- Struct Owner
- A structure that holds information about an object's Owner.
- Struct DamageTypeInfo
- A structure that holds information about an object's Damage Types.
Global Functions
None
F4SE Global Functions
- int Function GetAttackDamage(Owner akOwner)
- desc
- Function SetAttackDamage(Owner akOwner, int damage)
- desc
- DamageTypeInfo[] Function GetDamageTypes(Owner akOwner)
- desc
- Function SetDamageTypes(Owner akOwner, DamageTypeInfo[] dts)
- desc
- int Function GetAmmoCapacity(Owner akOwner)
- desc
- Function SetAmmoCapacity(Owner akOwner, int capacity)
- desc
- Ammo Function GetAmmo(Owner akOwner)
- desc
- Function SetAmmo(Owner akOwner, Ammo akAmmo)
- desc
- int Function GetAccuracyBonus(Owner akOwner)
- desc
- Function SetAccuracyBonus(Owner akOwner, int bonus)
- desc
- float Function GetActionPointCost(Owner akOwner)
- desc
- Function SetActionPointCost(Owner akOwner, float cost)
- desc
- float Function GetAttackDelay(Owner akOwner)
- desc
- Function SetAttackDelay(Owner akOwner, float delay)
- desc
- float Function GetOutOfRangeMultiplier(Owner akOwner)
- desc
- Function SetOutOfRangeMultiplier(Owner akOwner, float mult)
- desc
- float Function GetReloadSpeed(Owner akOwner)
- desc
- Function SetReloadSpeed(Owner akOwner, float speed)
- desc
- float Function GetReach(Owner akOwner)
- desc
- Function SetReach(Owner akOwner, float reach)
- desc
- float Function GetMinRange(Owner akOwner)
- desc
- Function SetMinRange(Owner akOwner, float minRange)
- desc
- float Function GetMaxRange(Owner akOwner)
- desc
- Function SetMaxRange(Owner akOwner, float maxRange)
- desc
- float Function GetSpeed(Owner akOwner)
- desc
- Function SetSpeed(Owner akOwner, float speed)
- desc
- int Function GetStagger(Owner akOwner)
- desc
- Function SetStagger(Owner akOwner, int stagger)
- desc
- ActorValue Function GetSkill(Owner akOwner)
- desc
- Function SetSkill(Owner akOwner, ActorValue skill)
- desc
- ActorValue Function GetResist(Owner akOwner)
- desc
- Function SetResist(Owner akOwner, ActorValue resist)
- desc
- float Function GetCritMultiplier(Owner akOwner)
- desc
- Function SetCritMultiplier(Owner akOwner, float crit)
- desc
- float Function GetCritChargeBonus(Owner akOwner)
- desc
- Function SetCritChargeBonus(Owner akOwner, float bonus)
- desc
- Projectile Function GetProjectileOverride(Owner akOwner)
- desc
- Function SetProjectileOverride(Owner akOwner, Projectile proj)
- desc
- int Function GetNumProjectiles(Owner akOwner)
- desc
- Function SetNumProjectiles(Owner akOwner, int numProj)
- desc
- float Function GetSightedTransition(Owner akOwner)
- desc
- Function SetSightedTransition(Owner akOwner, float seconds)
- desc
- bool Function GetFlag(Owner akOwner, int flag)
- desc
- Function SetFlag(Owner akOwner, int flag, bool set)
- desc
- int Function GetArmorHealth(Owner akOwner)
- desc
- Function SetArmorHealth(Owner akOwner, int health)
- desc
- int Function GetArmorRating(Owner akOwner)
- desc
- Function SetArmorRating(Owner akOwner, int health)
- desc
- float Function GetWeight(Owner akOwner)
- desc
- Function SetWeight(Owner akOwner, float weight)
- desc
- int Function GetGoldValue(Owner akOwner)
- desc
- Function SetGoldValue(Owner akOwner, int value)
- desc
- Keyword[] Function GetKeywords(Owner akOwner)
- desc
- Function SetKeywords(Owner akOwner, Keyword[] kwds)
- desc
Member Functions
None
F4SE Member Functions
None
Events
None