ORK 4 RPG Framework Logo
  • ORK 4 GUIDE
    • Documentation
    • Tutorials
    • Extensions
    • API
  • ORK 3 GUIDE
    • Documentation
    • Tutorials
    • API
  • Support
  • Forum
  • Get ORK

ORK 3 Documentation

  • Getting Started
    • Introduction
    • First Steps
    • Game Starters
    • Components Overview
    • Player/Camera Controls
    • Game Over
    • Support: Sending Test Projects
  • Editor
    • Editor Overview
    • Base/Control Section
    • Game Section
    • UI Section
    • Templates Section
    • Status Section
    • Inventory Section
    • Combatants Section
    • Battles Section
  • Features
    • Animations
    • Areas & Teleports
    • Combatant Triggers
    • Control Maps
    • Difficulties
    • Factions
    • Formations
    • Formula Nodes
    • Logs
    • Loot
    • Move AI
    • Quests
    • Research Trees
    • Schematic Nodes
    • Shortcut Slots
  • Status System
    • Status Values
    • Status Effects
    • Attack/Defence Modifiers
    • Abilities
    • Combatants
    • Classes
    • Status Bonuses
    • Status Conditions
  • Inventory System
    • Inventory System Overview
    • Currencies
    • Items
    • Equipment
    • AI Behaviours/Rulesets
    • Crafting Recipes
    • Shops
  • Battle System
    • Battle Systems
    • Adding Battles to Scenes
    • Calculating Action Results
    • Battle Menus
    • Battle AI
    • Battle AI Nodes
    • Battle Ranges
    • Battle Camera
    • Target Selection
    • Battle Spots
    • Battle Texts
    • Battle End & Loot Dialogues
    • Action Combos
    • Damage Types
    • Cursor Prefab Components
    • Grid Battles
    • Adding Battle Grids to Scenes
    • Battle Grid Highlights
    • Battle Grid Formations
  • UI System
    • UI System Overview
    • Start Menu
    • Option Categories
    • Menu Screens
    • Notifications
    • Combatant Selections
    • Quantity Selections
    • Text Display Settings
    • Cursor Settings
    • Console (In-Game)
    • Menu Requirements
    • HUDs: Content Providers
    • HUDs: Conditions
    • HUDs: Click Actions
    • HUDs: Text Content
    • HUDs: Value Bar Content
    • HUDs: Status Values
    • HUDs: Status Effects
    • HUDs: Attack Modifiers
    • HUDs: Defence Modifiers
    • HUDs: Shortcuts
    • HUDs: Abilities
    • HUDs: Equipment
    • HUDs: Class Slots
    • HUDs: AI Behaviours
    • HUDs: AI Rulesets
    • HUDs: Quests
    • Timebar HUD
  • Scripting
    • Scripting Overview
    • Access Handler
    • Code Extensions
    • Custom Settings
    • Custom Targeting
    • Combatant Scripting
    • Custom Nodes
    • Custom Component Save Data

ORK 3 Tutorials

  • 2D RPG Quickstart
    • START 2D RPG Quickstart
    • 01 Initial Setup
    • 02 Player Setup
    • 03 Music & Scenes
    • 04 UI System Setup
    • 05 UI Boxes
    • 06 Flying Texts
    • 07 Status Values
    • 08 Status Effects
    • 09 First Abilities
    • 10 Fighter Setup
    • 11 First Enemies & Battle AI
    • 12 Battle System Setup
    • 13 Animating Battle Start and End
    • 14 Random Battles
    • 15 Animating Actions
    • 16 Player Battle HUD
    • 17 Elemental Attacks
    • 18 Animating More Actions
    • 19 Inventory & Loot
    • 20 Equipment
    • 21 Loot, Start Equipment & Viewers
    • 22 Magic Abilities
    • 23 Caster Setup
    • 24 More Enemies
    • 25 Start Menu & Save Games
    • 26 Menu Screens
    • 27 Interactions
    • 28 Item Collectors
    • END 2D RPG Quickstart
  • 3D RPG Quickstart
    • START 3D RPG Quickstart
    • 01 Initial Setup
    • 02 Player Setup
    • 03 Music & Scenes
    • 04 UI System Setup
    • 05 UI Boxes
    • 06 Flying Texts
    • 07 Status Values
    • 08 Status Effects
    • 09 First Abilities
    • 10 Fighter Setup
    • 11 First Enemies & Battle AI
    • 12 Battle System Setup
    • 13 Animating Battle Start and End
    • 14 Random Battles
    • 15 Animating Actions
    • 16 Player Battle HUD
    • 17 Elemental Attacks
    • 18 Animating More Actions
    • 19 Inventory & Loot
    • 20 Equipment
    • 21 Loot, Start Equipment & Viewers
    • 22 Magic Abilities
    • 23 Caster Setup
    • 24 More Enemies
    • 25 Start Menu & Save Games
    • 26 Menu Screens
    • 27 Interactions
    • 28 Item Collectors
    • END 3D RPG Quickstart
  • Status System Setup
    • START Status System Setup
    • 01 Status Values
    • 02 Status Development
    • 03 Attack/Defence Modifiers
    • 04 Status Effects
    • 05 Formulas
    • 06 Ability & Item Types
    • 07 Abilities Part 1: Attacks
    • 08 Abilities Part 2: Support & Sabotage
    • 09 Abilities Part 3: Elemental Magic
    • 10 Items
    • 11 Equipment Part 1: Slots & Slot Set Templates
    • 12 Equipment Part 2: Weapons
    • 12.5 (Optional) Equipment Part 2.5: Weapons
    • 13 Equipment Part 3: Shields, Armor & Accessories
    • 13.5 (Optional) Equipment Part 3.5: Shields, Armor & Accessories
    • 14 Equipment Part 4: Available Equipment Templates
    • 15 Loot
    • 16 Battle AIs
    • 17 Combatants Part 1: General Settings
    • 18 Combatants Part 2: Players
    • 19 Combatants Part 3: Enemies
    • 20 Combatant Groups
    • END Status System Setup
  • 3D RPG Playground
    • START 3D RPG Playground
    • 01 Player Setup
    • 02 Start Menu
    • 03 First Interaction
    • 04 Music
    • 05 Areas
    • 06 Collecting Items
    • 07 Displaying Equipment
    • 08 Combatant Prefabs, Icons & Portraits
    • 09 Combatant Animations
    • 10 Camera Positions
    • ANIM 01 Battle Start/End Schematics
    • ANIM 02 Use, Cast & Camera
    • ANIM 03 Abilities & Items
    • ANIM 04 Physical Attacks
    • ANIM 05 Special Actions
    • BATTLE 01 Battle Menu
    • BATTLE 02 Prepare for Battle
    • TURN 01 Turn Based Setup
    • TURN 02 Turn Order HUD
    • ATB 01 Active Time Setup
    • ATB 02 Cast Times
    • ATB 03 Timebar HUD
    • BATTLE 03 The First Battle
    • BATTLE 04 Hunting Move AI
    • BATTLE 05 Spawning Combatants
    • 11 Save Games
    • MENU 01 UI Boxes
    • MENU 02 Template HUDs
    • MENU 03 Overview Menu
    • MENU 04 Menu Screens
    • 12 Shop
    • BATTLE 06 Random Battles
    • DUNGEON 01 Enter the Dungeon
    • DUNGEON 02 The Trapdoor
    • DUNGEON 03 Enemies on Level 1 & 2
    • DUNGEON 04 Traps on Level 3
    • DUNGEON 05 Going Deeper
    • 13 Bestiary (+MENU+ANIM)
    • QUEST 01 Hunting Quests (+MENU)
    • QUEST 02 Guard NPC
    • QUEST 03 Forest Ruin Cheese
    • QUEST 04 Witch NPC with Cheese
    • QUEST 05 Quest Mark HUDs
    • 14 Research Trees (+MENU)
    • CRAFT 01 Crafting Materials
    • CRAFT 02 Crafting Recipes
    • CRAFT 03 Crafting Menu
    • CRAFT 04 Crafting Proficiency & Critical Crafting
    • CRAFT 05 Materials Loot
    • 15 Changing Choice Dialogue
    • 16 Follow Me!
    • BATTLE 07 Sequence Loot Dialogue
  • 3D Action RPG
    • START 3D Action RPG
    • 01 Status System Setup
    • 02 Player Setup
    • 03 Player Weapon
    • 04 Player Attacks
    • 05 Enemy: Chomper
    • 06 Chomper Attack
    • 07 Hit & Death
    • 08 HUDs
    • 09 Rolling on the Floor
    • 10 Enemy: Spitter
    • 11 Spit Attack
    • 12 Potion
    • 13 Grenade
    • 14 Item HUD
    • 15 Enemy: Grenadier
    • 16 Grenadier Melee Attacks
    • 17 Grenadier Flamethrower
    • 18 Item Drops
    • END 3D Action RPG
  • 2D Grid Battle RPG
    • START 2D Grid Battle RPG
    • 01 Player Setup
    • 02 Prefab & Music Setup
    • 03 Randomizing Combatants
    • 04 UI Setup
    • 05 Battle Start, End & Phase Schematics
    • 06 Battle System Setup
    • 07 Battle Grid Setup
    • 08 Grid Move
    • 09 Forest Battle Grid
    • 10 Battle AI
    • 11 Ability Ranges
    • 12 Death & Use Schematics
    • 13 Attack Schematic
    • 14 Shoot Schematics
    • 15 Battle Selection Interaction
    • END 2D Grid Battle RPG
  • Schematics
    • Simple Start Schematic
    • Battle Start Schematic
    • Battle End Schematic
    • Moving to Target and Back
    • Animating a Base Attack
    • Animating a Magic Ability
    • Animating Target Selection
    • Grid Movement
    • Open and Close UI Animations
    • Flying Text Mover
  • UI Setups
    • Unity UI: Initial Setup
    • Unity UI: TextMesh Pro Setup
    • Unity UI: UI Box
    • Unity UI: Flying Text
    • Unity UI: Dragging Notification
    • Unity UI: Canvas with Screen Space Camera
    • Unity UI: Interaction HUD
    • Unity UI: Simple Player HUD
    • Unity UI: Quest HUD
    • Unity UI: Battle Actions HUD
    • Unity UI: Shortcuts HUD
    • Unity UI: Currency HUD
    • Unity UI: Tooltip HUD
    • Unity UI: Control HUD
    • Unity UI: Attack Modifiers
    • Unity UI: Defence Modifiers
  • Gameplay Bits
    • 2.5D Setup
    • Body Part Weakpoint
    • Click Attack
    • Combining Input Origins
    • Combining Status Value Flying Texts
    • Fun With Flying Text
    • HUD Effects With Conditional Schematics
    • Inventory Containers
    • Local Multiplayer
    • Multi Interaction Controllers
    • Target Selection Lines
    • World Space HUD
    • World Space Dialogue
View Categories
  • Guide
  • ORK 3
  • ORK 3 Documentation
  • Features

Formula Nodes

0:00 / 7:53
  • View as Markdown Open this page as plain Markdown (opens in a new tab)
  • Open in ChatGPT Ask questions about this page (opens in a new tab)
  • Open in Claude Ask questions about this page (opens in a new tab)
  • Open in Google AI Studio Ask questions about this page (Google account required) (opens in a new tab)

A list of all available nodes for formulas.

Formulas are used to calculate a value and uses individual nodes to manipulate the result. There are currently 54 ORK-specific formula nodes available, in addition to Makinom’s own nodes.

Base #

Check Difficulty #

Checks the game’s difficulty.
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.

Check Battle Turn #

Checks the current battle turn (independent of combatants).
If the check is valid, ‘Success’ will be executed next, otherwise ‘Failed’.
Please note that battle turns are only used in ‘Turn Based’, ‘Active Time’ and ‘Phase’ battles.
In ‘Active Time’ battles, a battle turn lasts until each combatant (that’s able to) has performed 1 action.

Combatant #

Status Value #

A combatant’s current, base or maximum status value is used.

Random Status Value #

A random value between two status values of combatants is used.

Attack Modifier Attribute #

A combatant’s current attack modifier attribute value is used.

Defence Modifier Attribute #

A combatant’s current defence modifier attribute value is used.

Level #

A combatant’s current or maximum level (or class level) is used.

Class Slot Level #

A combatant’s current or maximum class level of a class equipped on a class slot is used.

Turn #

A combatant’s current turn number is used.

Check Turn #

Checks a combatant’s turn.
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.

Turn Value #

A combatant’s current turn value is used.
The turn value is used in to generate the turn order in ‘Turn Based Battles’ using ‘Multi Turns’.

Check Turn Value #

Checks a combatant’s turn value.
The turn value is used to generate the turn order in ‘Turn Based Battles’ using ‘Multi Turns’.
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.

Action Bar #

A combatant’s current action bar is used.
In ‘Turn Based Battles’ and ‘Phase Battles’, the action bar represents the actions per turn of the combatant.
In ‘Active Time Battles’, the action bar represents the timebar of the combatant.

Check Action Bar #

Checks a combatant’s action bar.
In ‘Turn Based Battles’ and ‘Phase Battles’, the action bar represents the actions per turn of the combatant.
In ‘Active Time Battles’, the action bar represents the timebar of the combatant.
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.

Action Time #

A combatant’s current action time is used.
The action time is an optional feature to limit the time a combatant has to perform actions.

Check Action Time #

Checks a combatant’s action time.
The action time is an optional feature to limit the time a combatant has to perform actions.
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.

Grid Move Range #

A combatant’s current grid move range is used (only available in grid battles).

Check Grid Move Range #

Checks a combatant’s current grid move range (only available in grid battles).
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.

Inventory Space #

A combatant’s used (occupied) or maximum inventory space is used.

Inventory Quantity #

The quantity of an item, equipment, currency, AI behaviour or AI ruleset in a combatant’s inventory is used.

Check Status #

Checks a combatant for defined status conditions, e.g. status value.
If the check is true, ‘Success’ will be executed, otherwise ‘Failed’.

Status Fork #

Checks a combatant for certain status conditions.
If a status condition is valid, it’s next node will be executed.
If no status condition is valid, ‘Failed’ will be executed.

Equipment Durability #

The durability of an equipment stored in selected data is used.

Is Player #

Checks a combatant is the player or a member of the player group.
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.

Is Enemy #

Checks if user and target are enemies.
If the check is valid, ‘Enemies’ will be executed, otherwise ‘Allies’.

Battle Statistic #

A defined battle statistic value of a combatant is used.
Requires using the ‘Combatant Battle Statistics’ settings defined in ‘Battle System > Battle Settings’.

Combatant Count #

The number of combatants in the scene is used.
The found combatants can be filtered by different settings, e.g. being enemy of a user or status conditions.

Store Combatant Count #

Stores the number of combatants in the scene into a float variable.
The found combatants can be filtered by different settings, e.g. being enemy of a user or status conditions.

Check Equipment #

Checks the equipment of a combatant.
If the check is true, ‘Success’ will be executed, otherwise ‘Failed’.

Equipment Fork #

Checks a selected equipment slot of a combatant.
If an equipment condition is valid, it’s next node will be executed.
If no condition is valid, ‘Failed’ will be executed.

Check Faction #

Checks the faction of a combatant.
If the faction equals a defined faction, ‘Success’ will be executed, otherwise ‘Failed’.

Check Faction Sympathy #

Checks the sympathy a faction has for another faction.
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.

Check Faction Benefit #

Checks the benefit a faction gives to another faction.
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.

Is Linked Combatant #

Checks if a combatant is linked to another combatant.
If the check is true, ‘Success’ will be executed, otherwise ‘Failed’.

Status Effect Added By #

Checks if the user’s status effect was added by a target.
If the check is true, ‘Success’ will be executed, otherwise ‘Failed’.

Grid Formation #

In Grid Formation #

Checks if a combatant’s group currently is in any or a defined grid formation, or checks if a combatant is part of a formation.
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.
Only used in grid battles.

Is Grid Formation Leader #

Checks if a combatant is the leader of a grid formation.
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.
Only used in grid battles.

In Grid Formation Position #

Checks if a combatant is on the assigned grid formation position cell.
The formation leader is always in formation position.
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.
Only used in grid battles.

Grid Formation Finished #

Checks if all combatants reached their grid formation position.
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.
Only used in grid battles.

Grid Formation Possible #

Checks if a combatant group’s formation is possible or a defined grid formation is possible at a combatant’s cell.
A formation isn’t possible if one of the position cells is blocked or invalid (outside the grid).
If the check is valid, ‘Success’ will be executed, otherwise ‘Failed’.
Only used in grid battles.

Position #

Grid Distance #

The grid distance between user and target is used.

Check Grid Distance #

The distance on a battle grid between user and target is checked with a defined value.
Neighbouring cells have a distance of 1, a cell between is distance of 2, etc.
If the check is valid, ‘Success’ will be executed next, otherwise ‘Failed’.
Only used in grid battles.

Is Grid Cell Diagonal #

Checks if user and target are diagonal to each other (‘Square’ grids only).
If the check is valid, ‘Success’ will be executed next, otherwise ‘Failed’.
Only used in grid battles.

Check Grid Cell Type #

Checks if a combatant is currently on a cell of a defined grid cell type.
If the check is valid, ‘Success’ will be executed next, otherwise ‘Failed’.
Only used in grid battles.

Selected Data #

Select Combatant #

Uses combatants as selected data.

Select Combatant Body Part #

Uses body parts of combatants or the parent combatant of body parts as selected data.

Select Ability #

Uses abilities of combatants or a newly created ability as selected data.

Select Base Attack #

Uses base attacks of combatants as selected data.

Select Counter Attack #

Uses counter attacks of combatants as selected data.

Select Equipment #

Uses the equipment currently equipped on combatants as selected data.

Select Item #

Uses items from the inventory of combatants or newly created items as selected data.

Selected Data Level #

The level of something stored in selected data is used.
E.g. uses the level of an ability, equipment, combatant or class stored in selected data as value.

Check Selected Data Level #

Checks the level of something stored in selected data.
E.g. Checks the level of an ability, equipment, combatant or class stored in selected data.

Init Selected Data Variables #

Initializes variables of content stored in selected data.
This can be used to initialize the variables of abilities, items or equipment again, using a defined combatant as user.

Table of Contents
  • Base
    • Check Difficulty
    • Check Battle Turn
  • Combatant
    • Status Value
    • Random Status Value
    • Attack Modifier Attribute
    • Defence Modifier Attribute
    • Level
    • Class Slot Level
    • Turn
    • Check Turn
    • Turn Value
    • Check Turn Value
    • Action Bar
    • Check Action Bar
    • Action Time
    • Check Action Time
    • Grid Move Range
    • Check Grid Move Range
    • Inventory Space
    • Inventory Quantity
    • Check Status
    • Status Fork
    • Equipment Durability
    • Is Player
    • Is Enemy
    • Battle Statistic
    • Combatant Count
    • Store Combatant Count
    • Check Equipment
    • Equipment Fork
    • Check Faction
    • Check Faction Sympathy
    • Check Faction Benefit
    • Is Linked Combatant
    • Status Effect Added By
  • Grid Formation
    • In Grid Formation
    • Is Grid Formation Leader
    • In Grid Formation Position
    • Grid Formation Finished
    • Grid Formation Possible
  • Position
    • Grid Distance
    • Check Grid Distance
    • Is Grid Cell Diagonal
    • Check Grid Cell Type
  • Selected Data
    • Select Combatant
    • Select Combatant Body Part
    • Select Ability
    • Select Base Attack
    • Select Counter Attack
    • Select Equipment
    • Select Item
    • Selected Data Level
    • Check Selected Data Level
    • Init Selected Data Variables
Sitemap
  • Showcase
  • ORK 4 Guide
    • Documentation
    • Tutorials
    • Extensions
    • API
  • ORK 3 Guide
    • Documentation
    • Tutorials
    • API
  • ORK 2 Hub
    • Tutorials
    • Plugins
    • API
  • Support
  • Forum
  • Get ORK
  • Contact
  • Blog
  • Makinom
  • gamingislove.com
Categories
  • News (75)
  • ORK 2 (137)
    • Tutorial (137)
      • Game tutorial (50)
      • Gameplay (32)
      • How-to (55)
  • Release (158)
Search

© 2015 Gaming is Love e.U.

Disclosure: This site may contain affiliate links, which means I may receive a commission if you click a link and purchase something that I have recommended. While clicking these links won’t cost you any money, they will help me fund my development projects while recommending great assets!