|
Post by Han SoloDev on Apr 7, 2020 10:05:10 GMT
In the Item Manager, I have added a Health Potion consumable. It works In the OnApplyAttribute, I added a reference to the ChangeHealth method in the VShooterController script - see below
It works fine and increases the player's health... but it only works once ? if I have 3 health potions, only the first one is applied... the others have no affect ? any ideas
|
|
|
Post by Invector on Apr 7, 2020 17:16:17 GMT
You want to call the AddHealth not ChangeHealth
The ChangeHealth will change the currenthealth to a specific value The AddHealth will add a specific value to the currentHealth
|
|