CLEO Help draw text

CLEO related
Status
Not open for further replies.

habinabi

Active member
Joined
Nov 10, 2019
Messages
51
Reaction score
2
Location
Czech Republic
hi, i need something again, i am writing a script and i need it to write me the state of lives and HP behind it, like this
100HP
0@ = Actor.Health($PLAYER_ACTOR)
I can get my lives, but I can't do this variable
033E: set_draw_text_position 530.0 105.0 GXT 'BJ_PUSH'
you don't know how to use a variable in draw_text
with a number (draw_text_1number) I can do it too, but I can't add text there (at least I can't)
 

ajom

Well-known member
Joined
Apr 14, 2020
Messages
389
Solutions
2
Reaction score
270
Location
Pluto
hi, i need something again, i am writing a script and i need it to write me the state of lives and HP behind it, like this
100HP
0@ = Actor.Health($PLAYER_ACTOR)
I can get my lives, but I can't do this variable
033E: set_draw_text_position 530.0 105.0 GXT 'BJ_PUSH'
you don't know how to use a variable in draw_text
with a number (draw_text_1number) I can do it too, but I can't add text there (at least I can't)

@springfield explained this 6 years ago at this thread.
 
Last edited:
Status
Not open for further replies.
Top