Category:Entry Points

From the Fallout4 CreationKit Wiki
Jump to navigation Jump to search

An Entry Point designates a specific point of entry into the code. Most of the time they are used within a game formula to modify a value, but there are Entry Points that can turn game features on & off provide a specified Form for the code to use, set Animation Behavior Graph variables, or provide alternatives for activating references in-game.

  • Entry Point Types:
    • 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
      • Add Value: Add a number to the value (can be negative). value = value + x
      • 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 )
      • 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
      • 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 )
      • 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 )
    • Select Spell Function: Specify a spell to be used by the entry point.
    • Leveled List Function: Specify a leveled list to be used by the entry point.
    • Activate Function: Specify an Activation choice to be presented to the player when activating a reference. This can be used to present a pop-up list of choices for player actions.
    • Set Text Function: Specify text to be used by the code.

Pages in category "Entry Points"

This category contains only the following page.