Difference between revisions of "InstanceData Script"

Jump to navigation Jump to search
4,682 bytes added ,  19:39, 30 September 2017
Add all global functions
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)
**Get the object's attack damage.
**desc
*Function [[SetAttackDamage - InstanceData|SetAttackDamage]]()
*Function [[SetAttackDamage - InstanceData|SetAttackDamage]](Owner akOwner, int damage)
**Set the object's attack 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 ==
Anonymous user

Navigation menu