Gamestudio Links
Zorro Links
Newest Posts
Zorro 2.70
by jcl. 09/29/25 09:24
optimize global parameters SOLVED
by dBc. 09/27/25 17:07
ZorroGPT
by TipmyPip. 09/27/25 10:05
assetHistory one candle shift
by jcl. 09/21/25 11:36
Plugins update
by Grant. 09/17/25 16:28
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
1 registered members (TipmyPip), 18,449 guests, and 6 spiders.
Key: Admin, Global Mod, Mod
Newest Members
krishna, DrissB, James168, Ed_Love, xtns
19168 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
[ANET] Health stat panel #301932
12/15/09 13:28
12/15/09 13:28
Joined: Aug 2008
Posts: 37
Hungary
K
Kronomanta Offline OP
Newbie
Kronomanta  Offline OP
Newbie
K

Joined: Aug 2008
Posts: 37
Hungary
Hi there!

I use the ANET. I'd like to show the player's skills on a HUD.
But I have not managed it so far :S

How can I get the values of them?


EDIT:
I use DEMO version, and in that enet_get_playervar is not allowed. Is there any other way to get my player's skills to show them on a panel? :S

Last edited by Kronomanta; 12/15/09 15:27.
Re: [ANET] Health stat panel [Re: Kronomanta] #301951
12/15/09 15:59
12/15/09 15:59
Joined: Jul 2005
Posts: 1,930
Austria
Dark_samurai Offline
Serious User
Dark_samurai  Offline
Serious User

Joined: Jul 2005
Posts: 1,930
Austria
You can access a skill as you do it in singleplayer:

Code:
player.skill[x]



But if you want that the skill has the same value on all pcs, you have to use enet_send_skill() if you change the value of the skill (=> send the new value to all other participants).
Please note that the entity has to be a global entity (created with enet_ent_create()) otherwise enet_send_skill() won't work.

Read the ANet manual entries enet_send_skill() and enet_ent_create() for more details.

Best regards,
Peter Soxberger


ANet - A stable and secure network plugin with multi-zone, unlimited players, voip, server-list features,... (for A7/A8)!
get free version
Re: [ANET] Health stat panel [Re: Dark_samurai] #302486
12/19/09 20:54
12/19/09 20:54
Joined: Aug 2008
Posts: 37
Hungary
K
Kronomanta Offline OP
Newbie
Kronomanta  Offline OP
Newbie
K

Joined: Aug 2008
Posts: 37
Hungary
Thanks, it works grin

I don't know how I could forget it grin
I tried to used names for skills, but without them it works.


Moderated by  HeelX, Spirit 

Gamestudio download | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1