CLEO Help Convert actor's health into text

CLEO related
Status
Not open for further replies.

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
Hi, how can i convert the information about actor's health into visible text? I tried the code below but nothing appears on the screen
Code:
:Show_target_health
wait 0
if
0AD2: 0@ = player $PLAYER_CHAR targeted_actor
jf @Show_target_health
0226: 1@ = actor 0@ health
0AD0: show_formatted_text_lowpriority 1@ time 2000
 

blackHat

Expert
Joined
Jul 28, 2013
Messages
930
Reaction score
2
Get this Opcode > Show formatted text high priority

And in " " put this "actor health %d" time 2000 1@

Not sure from the code btw
 
Status
Not open for further replies.
Top