Product Chat (Early Access) / Prompt Text - Change text position for weapons, ammo, switches, etc...

Author
Message
thatandplaygames
4
Years of Service
User Offline
Joined: 12th Feb 2020
Location: In a creative space
Posted: 24th Mar 2022 20:19
When you see the text at the bottom of the screen to "Press E to pick up item or press switch" How do you change it's position?

I see in the scripts there are:
"Prompt("Collected ammo")"

".... Prompt("Right trigger to pick up the " .. weapon_name[e] )
else
Prompt("Press E to pick up the " .. weapon_name[e] .. " or T to replace" )
end
else
Prompt("Press Y Button to pick up the " .. weapon_name[e] )..."

?. How do you change the text position (and maybe color) so it's in the center, top, top right or left etc...


Thanks!

Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 25th Mar 2022 09:53
If it's the same system used in Classic, then the short answer is, you don't prompts are hard coded. The longer answer would be that instead of using the prompt command you use the text command which works in a similar way to sprites where you can position, size, and colour them.
Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Primary Laptop:
i5, NV1050 4GB, 8GB memory, 1x 1TB HDD, Win10.

Secondary Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.


Login to post a reply

Server time is: 2024-05-07 12:26:20
Your offset time is: 2024-05-07 12:26:20