www.tombraiderforums.com  

Go Back   www.tombraiderforums.com > Tomb Raider Modding > Tomb Raider Level Editor

Reply
 
Thread Tools
Old 19-06-21, 13:45   #1
Saturn
Hobbyist
 
Saturn's Avatar
 
Join Date: Jun 2021
Posts: 4
Default how to display '%' character in inventory ?

Hello,

I have a heal item which gives a % of heal, the amount is given in the name in the inventory. My issue is the % character does not display correctly in the inventory, it shows 0.000000 instead.

Example: '''80%" is displayed "80 0.0000000000"

It seems the % is managed as a modulus operation, so I need a way to either escape the parser or call the character by its ACSII code or something like that.

The item itself is Puzzle_Item10, if it maters.
Any idea ?
Saturn is offline   Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT. The time now is 08:44.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2021, vBulletin Solutions Inc.