Game logic - Resource – Ylands

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
No edit summary
Line 14: Line 14:
*Sets if the resource bar should be visible on screen or not
*Sets if the resource bar should be visible on screen or not
===Priority===  
===Priority===  
*
*Set up in which order the resource bars appear on screen. (Priority 1 appears before priority 2)
===Icon===  
===Icon===  
*
*Set up visual representation of the resource that shows up in the bar
===Show text values===  
===Show text values===  
*
*Check if you want resource values shown as written text inside the resource bar
===Text===  
===Text===  
*
*Text types - choose between several ways of the text being displayed
*Text Color - choose color of the text displayed
----
----
{{Ylands scripting navbox}}
{{Ylands scripting navbox}}

Revision as of 12:16, 5 June 2020

Description

  • Game logic used to set up player resources(mana, stamina, etc.)for use with skills and other feaures
  • You can assign these resources to player roles. 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

  • Set up in which order the resource bars appear on screen. (Priority 1 appears before priority 2)

Icon

  • Set up visual representation of the resource that shows up in the bar

Show text values

  • Check if you want resource values shown as written text inside the resource bar

Text

  • Text types - choose between several ways of the text being displayed
  • Text Color - choose color of the text displayed

Template:Ylands scripting navbox