|
Post by missbig on Jan 3, 2019 10:51:00 GMT
Hi, I had seen this old tutorial that the max health works in which is at but my max health doesn't do this why? I have added the attributes on the item manager just like in that old and hard to follow video but it doesn't work at all.
|
|
|
Post by Invector on Jan 7, 2019 17:54:11 GMT
if you follow the Health Potion example you will see that the Item contains an "Attribute" in the ItemListData. You can create new Attributes by clicking on "Open ItemEnums Editor" and add one there.
Then in the ItemManager, hit the Open Attribute Events and add one more there, now you can use Events to call your custom behaviour and pass this value if necessary, just like the Health does.
|
|
|
Post by missbig on Jul 3, 2019 11:14:35 GMT
Everything working except when pressed U for use it just takes health even if is full. This still need to be fixed before adding newer features.
|
|