I have a problem ... The juggador touches a box attribute improves your health , but to try to take it, to approach the box, the collision does not allow the object to take health fund , the only way to take it is to jump up box , ponerce above it and the box disappears and the health attribute is increased.
We need some screen shots with debug - show entity bounding box and player bounding box set to On, to see how the player bounding box collides the attribute.
I also say that the attribute pickups are easier to spot and pick up when they float above the ground using gravity = false.
Maybe check if there are any differences between your custom player and the default ones,in the character ini you define which player.ini to use for the Player attributes,maybe there is something there to correct maybe not.
The bounding box of attributes scales up with the actor but i recommend use scale 1 to be sure.
However,i can not see all the attribute settings in the picture you put.You could have miss spelled something like - Health instead of health.
The drawback is that only the player can take default attributes a Pawn can not take these attributes. In this case it is only possible when you jump over is where you take attribute, but in reality is not the Pawn which takes the attribute , if not the default player because they always occupy the position of the Pawn .
For the standard (built-in) player you need to specify the attribute type in the AttributeInfoFile (usually player.ini) before its values can be manipulated (e.g. by picking up Attribute entities in the level).
For pawns you need to use the AddAttribute script command instead.
QuestOfDreams wrote:For the standard (built-in) player you need to specify the attribute type in the AttributeInfoFile (usually player.ini) before its values can be manipulated (e.g. by picking up Attribute entities in the level).
For pawns you need to use the AddAttribute script command instead.
Thank you very much . A question : How can I display an attribute of a Pawn enemy in Hud , and that this alone is displayed when you touch fight this enemy pawn.
Gsutaría I have an enemy ( Pawn ) , which has its own HUD showing its attribute life , and that HUD is only visible at the time the enemy Pawn is visible.