Hello everyone
I'm trying to change the text of the buttons through the script. All other parameters are successfully changed, except for the text. Maybe I'm doing something wrong.
All buttons have text like "test:1"; "test:2".
Here is the code executed in "_main".
local butns = GetScreenElements("test:*")
for i = 1, butns, 1 do
local elID = GetScreenElementID("test:*",i)
SetScreenElementText(elID, "testingtest")
end
I was guided by the code in the hud0.lua script
Thank you in advance!
Cryengine 5, GameGuru and UE4 - one love
The author of this post has marked a post as an answer.
Go to answer