Game logic - Resource – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
=Description=
=Description=
Game logic used to set up player resources. (mana, stamina, etc.)
Game logic used to set up player resources. (mana, stamina, etc.)
Each player role can have a maximum of 4 resources assigned
=Properties=
=Properties=
===Default value===  
===Default value===  
*
*Default value of resource set up when resource is assigned to player
===Max Value===  
===Max Value===  
*
*Maximum value that the resource can have
*Max value can be changed via visual scripting if the box is checked
===Regeneration===  
===Regeneration===  
*
*How much of resource is automatically regenerated per second
*Only accepts whole numbers
===Show bar===  
===Show bar===  
*
*Sets if the resource bar should be visible on screen or not
===Priority===  
===Priority===  
*
*

Revision as of 11:06, 5 June 2020

Description

Game logic used to set up player resources. (mana, stamina, etc.) Each player role can have a maximum of 4 resources assigned

Properties

Default value

  • Default value of resource set up when resource is assigned to player

Max Value

  • Maximum value that the resource can have
  • Max value can be changed via visual scripting if the box is checked

Regeneration

  • How much of resource is automatically regenerated per second
  • Only accepts whole numbers

Show bar

  • Sets if the resource bar should be visible on screen or not

Priority

Icon

Show text values

Text


Template:Ylands scripting navbox