Jump to content
Aveyond Studios Community
Ant

Add or edit properties in a hero object

Recommended Posts

What are Properties?

Properties are a list of variables that are unique to a group of hero objects in your project. For example, you might want bats and wolves to have a field for Health, Attack, and EXP.

Add properties to a hero object:

Spoiler

To assign a group of properties to a hero object, you must attach a hero property to it. A hero property is a file that contains a list of variables.

Open the hero object. Click Properties. Assign a Hero Property to the Item Type field. There are a few ways to do this.

Add properties through the asset window:

Spoiler

In this example, we assign a Hero Property called Monster to this Bat hero object. Monsters have Health, Attack, and Defense values. This bat's max health is 25. It's attack power is 15. It's defense is 5.

NSbbu7P.gif

Add properties with drag and drop:

Spoiler

In this example, we assign a Hero Property called Monster to this Bat hero object. Monsters have Health, Attack, and Defense values. This bat's max health is 20. It's attack power is 4. It's defense is 2.

8JkId6o.gif

 

Share this post


Link to post
Share on other sites

×