Hitpoints problem

For questions about using Classic.

Post » Sun Mar 13, 2011 1:11 pm

Hey I want to show hp of player on the top. So...

I added private varieable called "hp" 5
Then create a text
then always --> set text and...
What should i write here to show hp?

Waiting for answers, thanks for attention.
B
11
S
3
G
6
Posts: 193
Reputation: 4,234

Post » Sun Mar 13, 2011 1:23 pm

Set text to player.value('hp')

or player('hp')
B
62
S
21
G
12
Posts: 1,910
Reputation: 13,155

Post » Sun Mar 13, 2011 1:25 pm

Thank you very much, forgot the command :D
B
11
S
3
G
6
Posts: 193
Reputation: 4,234

Post » Sun Mar 13, 2011 6:52 pm

You can always double click the objects shown at the bottom of the window and get a list of commands related to that object.
B
7
S
2
G
3
Posts: 139
Reputation: 2,331


Return to Help & Support using Construct Classic

Who is online

Users browsing this forum: No registered users and 3 guests