Difference between revisions of "Perk Entry Point"

446 bytes removed ,  11:07, 7 June 2018
imported>Quindraco
imported>Quindraco
Line 1: Line 1:
A list of all the perk entry points.
A list of all the perk entry points.


== Entry Point Types ==
== Entry Point Functions ==
*Value Function: These functions allow you to modify a value. You can perform the following operations:
 
**Set Value: Sets the value to a specific number. value = X
{| class="wikitable"
**Add Value: Add a number to the value (can be negative). value = value + x
|+ Value Function: These functions allow you to modify the value specified by the entry point's type.
**Multiply Value: Multiply the value by a number. value = value * x
|-
**Add Range to Value: Add a random number in a specified range to the value. value = value + Random( X, Y )
! Name !! Value =
**Add Actor Value Mult: Add a specified Actor Value, times a specified multiplier, to the value. value = value + Actor Value X * Y
|-
**Set to Actor Value Mult: Set the value to the result of the specified Actor Value times a specified multiplier. value = Actor Value X * Y
| Absolute Value || <nowiki>|</nowiki>Value<nowiki>|</nowiki>
**Multiply Actor Value Mult: Multiply the value by the result of the specified Actor Value times a specified multiplier. value = value * Actor Value X * Y
|-
**Multiply 1 + Actor Value Mult: Multiply the value by the result of 1 plus the product of the specified Actor Value times a specified multiplier. value = value * ( 1 + Actor Value X * Y )
| Negative Absolute Value || -<nowiki>|</nowiki>Value<nowiki>|</nowiki>
**Absolute Value: Set the value to its absolute value (so that it is non-negative). value = abs( value )
|-
**Negative Absolute Value: Set the value to the negative of its absolute value (so that it is always negative). value = -abs( value )
| Set Value || X
|-
| Add Value || Value + X
|-
| Multiply Value || Value * X
|-
| Add Range to Value || Value + [[RandomFloat_-_Utility|Random]](X, Y)
|-
| Add Actor Value Mult || Value + [[actor value|A]] * X
|-
| Set to Actor Value Mult || [[actor value|A]] * X
|-
| Multiply Actor Value Mult || Value * [[actor value|A]] * X
|-
| Multiply 1 + Actor Value Mult || Value * (1+[[actor value|A]] * X)
|-
! colspan=2| X and Y are always ''fixed'' floating point numbers; A is always an [[Actor Value]], ''dynamically'' consulted.
|}


== Perk Entry Points ==
== Perk Entry Points ==
Anonymous user