Game logic - Resource – Ylands
Jump to navigation
Jump to search
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